What are indexers in c# .net?


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

Post New Answer

More C Sharp Interview Questions

What are circular references? How garbage collection deals with circular references.

0 Answers  


What is a pre-requisite for connection pooling?

2 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 the difference between yield and return?

0 Answers  


What are the applications of c#?

0 Answers  






What is difference between overloading and short circuiting?

0 Answers  


What is the main method?

0 Answers  


Are c# references the same as c++ references?

0 Answers  


What does convert toint32 mean?

0 Answers  


Is there any way to access private memebers of an object from another object?

4 Answers   TCS,


What is xml comments in c#?

0 Answers  


Why we use extension methods in c#?

0 Answers  


Categories