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 difference between interface and abstract class in c#?

0 Answers  


What are the benefits of using generics in c#?

0 Answers  


Define acid rule of thumb for transactions in c#.

0 Answers  


if i used stored procedure for retrieving the data from sql server.in front end i had used data reader.when 100 records are there in table.when it has displayed ten records in frontend database has been collapsed.then where should our data available...

2 Answers   CybAge, Wipro,


What is using directive in c#?

0 Answers  






What is the difference between webgarden and webfarm?

1 Answers   Mphasis,


What is main thread in c#?

0 Answers  


what is master pages how to use it. plase give one example in code vice

1 Answers  


In which way a two-dimensional array declared in C#?

0 Answers   Siebel,


Can you instantiate an abstract class c#?

0 Answers  


Can you pass value types by reference to a method?

0 Answers  


Can overrride the Main method

6 Answers   NIIT,


Categories