how to implement a web service in .net
What is a nested type. Give an example?
What are the security issues if we send a query from the application?
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(); } } }
Contrast System.String and System.Text.StringBuilder classes?
What is an int in c#?
Please write a program to display “welcome to bestinterviewquestion.com” in c#?
What exactly is serverless?
What?s a multicast delegate?
Is it possible to execute multiple catch block for a single try statement?
If a class derives from another class, will the derived class automatically contain all the public, protected, and internal members of the base class?
Is there a way to force garbage collection?
Are classes passed by reference in c#?