Is constructor a static method?


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

Post New Answer

More C Sharp Interview Questions

Why do you need boxing in c#?

0 Answers  


how to handle errors in sqlserver

1 Answers  


What is ac callback?

0 Answers  


Why we put script in head of asp.net page Why not in body?

1 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  






What is form feed and carriage return?

0 Answers  


What is private class in c#?

0 Answers  


Explain dataadapter.update method in .net?

0 Answers  


Explain the types of Polymorphism.

0 Answers   Accenture,


Why are there five tracing levels in System.Diagnostics.TraceSwitcher?

1 Answers  


How is lazy loading achieved?

0 Answers  


Does c# have functions?

0 Answers  


Categories