How do you inherit from a class in C#?
Answer / guest
Place a colon and then the name of the base class. Notice
that it?s double colon in C++.
Is This Answer Correct ? | 3 Yes | 0 No |
What is cookies c#?
How can I check the type of an object at runtime?
Is list passed by reference c#?
What are the delegates in c#?
What is Interface Polymorphism?with E.g
Can you pass parameters to destructors?
Difference between C++ and C#.net
19 Answers Google, TCS, Wipro,
What are partial classes and use of partial classes?
In c#, what will happen if you do not explicitly provide a constructor for a class?
How do you create multiple inheritance in C#?
5 Answers Infosys, KenIndia, Microsoft,
Why do we need interface in c#?
i have a question which is quite simple but yet complicated for me my question is why do we use void, if it does not return anything to the compiler? if it is used for normal display it can also be done by what is called Console.Write() or Consol.WriteLine() and if i do not use void with my method then my compiler throws me an error. if i return a value say integer then i write public int fun() display of the result can also be done here then why is it so necessary to use void with a function and why so compiler throw us an error if v don't use void return type?