If base class is developed in VB.NET, is it possible to inherit it in C#?
Yes, Its possible. We can inherit the VB.NET base class in C# also.
This is one of very important features of .NET framework. If a language is CLS-Compilant(Common Language specifications), and also if the class developed by using CLS specifications, then it can be inherited in another CLS-Compilant language.
Both VB.NET and C# are CLS-Compilant languages. So, its perfectly possible to inherit the class which is developed in other language.
Read More..   [32134 clicks]
Published under: C# Interview Questions and Answers · · · ·