Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How would you implement inheritance using VB.NET/C#?

Answers were Sorted based on User's Feedback



How would you implement inheritance using VB.NET/C#? ..

Answer / raghumadhav tirunagari


Derived Class : Basecalss
VB.NEt : Derived Class Inherits Baseclass

Is This Answer Correct ?    1 Yes 0 No

How would you implement inheritance using VB.NET/C#? ..

Answer / rajender chauhan

C# : Class A:B
VB.Net Class A Inherits B

Is This Answer Correct ?    0 Yes 0 No

How would you implement inheritance using VB.NET/C#? ..

Answer / mr vinod kumar

When we set out to implement a class using inheritance, we must first start with an existing class from which we will derive our new subclass. This existing class, or base class, may be part of the .NET system class library framework, it may be part of some other application or .NET assembly, or we may create it as part of our existing application. Once we have a base class, we can then implement one or more subclasses based on that base class. Each of our subclasses will automatically have all of the methods, properties, and events of that base class ? including the implementation behind each method, property, and event. Our subclass can add new methods, properties, and events of its own - extending the original interface with new functionality. Additionally, a subclass can replace the methods and properties of the base class with its own new implementation - effectively overriding the original behavior and replacing it with new behaviors. Essentially inheritance is a way of merging functionality from an existing class into our new subclass. Inheritance also defines rules for how these methods, properties, and events can be merged. In VB.NET we can use implements keyword for inheritance, while in C# we can use the sign ( :: ) between subclass and baseclass.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What is view state management in asp net?

0 Answers  


What is a Repeater Control and how does it works? and what is the diffrence b/w Gridview,datalist and repeater control?

2 Answers   USi,


What is routing in MVC?

0 Answers   Infosys,


In my code i have 3 tables,i have to insert 3 tables data using single insert query so that i wrote transations in a sp.but what my problem is,in those 3 tables i have to include my empId from another table.when i'm passing values im getting error at this EmpId. how can i solve this error to execute insert query? plesae tell me the solution...

1 Answers  


Explain what is event bubbling?

0 Answers  


What is redirectpermanent in asp.net?

0 Answers  


why should i use FormsAuthentication.RedirectFromLoginPage (); Method in Form Authentication?Without using this method also it's good??

2 Answers  


Why we are using mvc instead of asp.net? : Asp.Net MVC

0 Answers  


Is asp.net mvc still used? : Asp.Net MVC

0 Answers  


What is JIT and how is works ?

1 Answers   Patni,


Can you explain why it is useful to use mvc instead of webforms? : asp.net mvc

0 Answers  


What is HTTP MODULE & HTTP HANDLERS in ASP.NET? How a developer can utilize in the application? Please provide example.

1 Answers   IBM,


Categories