Can class inherit from struct c#?


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

Post New Answer

More C Sharp Interview Questions

What exception can an overridden method throw in comparison with the method it is overriding?

0 Answers   Changepond,


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; } }

1 Answers   iGate,


What is difference between method and function in c#?

0 Answers  


what is partial assembly reference

0 Answers  


What does the keyword virtual mean in the method definition?

1 Answers  






What is difference between dictionary and hashtable?

0 Answers  


What is streamreader/streamwriter class?

0 Answers  


In c#, what will happen if you do not explicitly provide a constructor for a class?

0 Answers  


what is overloading & overriding

3 Answers   Fulcrum Logic, Synergy,


What is Private Constructor? and it’s use? Can you create instance of a class which has Private Constructor?

0 Answers  


What does the This window show in the debugger?

2 Answers  


Can we have multiple constructors in a class c#?

0 Answers  


Categories