mercredi 26 mars 2014

Constructor with no definition


Vote count:

0




I'm new to .Net and I just saw this code that doesn't make sense to me (slightly abridged):



namespace test
{
public class sub : super
{
public sub(string text);
}
}


As you can see, there is a constructor that takes an argument, but does not implement a definition. How does that work? My guess is that it somehow relates to the super class, but I dont understand how, and I havent been able to find anything on Google



asked 1 min ago

Dgrin91

1,900





Aucun commentaire:

Enregistrer un commentaire