Is there any sample c# code for simple threading?
Difference between Value type & reference types ? and give the example in .Net?
Define multicast delegate? How it be used?
Why should you override the tostring() method?
What are the types of threading models ?
From which base class do all Web Forms inherit from?
Name some properties of array.
What is console programming language?
What is an iqueryable in c#?
Okay, so an int is a value type, and a class is a reference type. How can int be derived from object?
what will be the output of the given below coding. using System; public class Exercise { static void OddNumbers(int a) { if (a >= 1) { Console.Write("{0}, ", a); a -= 2; OddNumbers(a); } } public static int Main() { const int Number = 9; Console.WriteLine("Odd Numbers"); OddNumbers(Number); Console.WriteLine(); return 0; } }
Give an example of a directcast.
Why delegates are safe in c#?