What is the size of a decimal?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More C Sharp Interview Questions

Explain what is copy constructor?

0 Answers   BPL,


What are virtual classes in c#?

0 Answers  


What is the delegate in c#?

0 Answers  


What is marshalling and what are different kinds of marshalling?

0 Answers  


How can I get the ascii code for a character in c#?

0 Answers  






Can we declare private class in c#?

0 Answers  


What is default access specifier for class in c#?

0 Answers  


Is string primitive?

0 Answers  


hi, I am a begineer to c sharp. I have written a code for finding out prime numbers. Can anyone identify what are the flaws in my code. Kindly donot complex the code or present logic because i am new to c sharp and just started learning programming language.Thanks in advance. class Program { static void Main(string[] args) { int a,b=1; a = int.Parse(Console.ReadLine()); c= int.Parse(Console.ReadLine()); if (a % b == 0 && a % 2 != 0 && a % a == 0) Console.WriteLine(a); else if (a % b == 0 && a % 2 == 0) Console.WriteLine(a%2); Console.WriteLine("Number is not PRIME"); Console.ReadLine(); } } }

2 Answers  


how to compare numbers and dispaly the largest ? *first thing I wanted to do is to input how many numbers to be compared *and then analyzed the largest then display it.

0 Answers  


What is a data set in c#?

0 Answers  


What is a dbml?

0 Answers  


Categories