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

What is the use of partial methods?

0 Answers  


What is bitwise operator in c#?

0 Answers  


What is difference between events and delegates?

0 Answers  


Explain ACID rule of thumb for transactions.

1 Answers  


What's new in c#?

0 Answers  






Describe ways of cleaning up objects in c#.

0 Answers  


What is a class in unity?

0 Answers  


What is difference between string and string builder?

0 Answers  


Does c# support const methods, properties, or events?

0 Answers  


What is Fragmentation and its Types?

0 Answers   MCN Solutions,


Are arrays value types or reference types?

0 Answers  


How we convert private assembly into public assembly?

0 Answers   Wipro,


Categories