Question: Create a class named GiantInt with the following constructors: GiantInt ( string numberString ) ; GiantInt ( string [ ] numbers ) ; 5 .

Create a class named GiantInt with the following constructors:
GiantInt(string numberString);
GiantInt(string[] numbers);
5.
Implement the constructor:
GiantInt(string numberString);
It should accept the following number formats in string:
var n1= new GiantInt(23007999000);
var n1= new GiantInt(23,007,999,000);
var n1= new GiantInt(23,7,999,0);
The constructor should store the numbers 23,7,999, and 0 in a private ILinkedList field. Throw an error
if the number is invalid.
5.
Implement the constructor:
GiantInt(string[] numbers);
It should accept the following number formats in string:
var n1= new GiantInt(new []{23,007,999,000);
var n1= new GiantInt(new []{23,7,999,0);
The constructor should store the numbers 23,7,999, and 0 in a private ILinkedList field. Throw an error
if the number is invalid.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!