Is it possible to add two 50 digit numbers in .net? If yes
what is the code snippet?

Answers were Sorted based on User's Feedback



Is it possible to add two 50 digit numbers in .net? If yes what is the code snippet?..

Answer / parham

Yes BigInteger: Represents an arbitrarily large signed integer.
https://msdn.microsoft.com/en-us/library/system.numerics.biginteger(v=vs.110).aspx

Is This Answer Correct ?    1 Yes 0 No

Is it possible to add two 50 digit numbers in .net? If yes what is the code snippet?..

Answer / rahul s

No.. It gives compile time error saying integral constant is too large.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Can a struct have a default constructor (a constructor without parameters) or a destructor in c#?

0 Answers  


Which is better javascript or c#?

0 Answers  


What is dynamic dispatch?

0 Answers  


Is char * null terminated?

0 Answers  


Wht executescaler method is used?

0 Answers  






How to find methods of a assembly file (not using ILDASM)?

0 Answers  


What is difference between internal and protected internal in c#?

0 Answers  


Hello.. This is kali prasad. i wish to learn C#. kindly guide me in making me expert in c#.

2 Answers  


can a structure used in a class if yes then how.

2 Answers   Synechron,


what is CLONE() method?

1 Answers  


How do switch statements work?

0 Answers  


What are anonymous methods ? why these methods are used and in what condition these methods are useful ?

1 Answers  


Categories