S
SammyBar
I'm trying to inherit from a Generic class but I'm having troubles on the
syntax on how to specify a base constructor for my default constructor. I
want to do something like this:
public class NombreValorList : Dictionary<int, String>
{
public NombreValorList() : Dictionary<int,String>()
{
}
}
But the compiler wants the "base" keyword included.
Which is the correct syntax in this case?
Thanks in advance
Sammy
syntax on how to specify a base constructor for my default constructor. I
want to do something like this:
public class NombreValorList : Dictionary<int, String>
{
public NombreValorList() : Dictionary<int,String>()
{
}
}
But the compiler wants the "base" keyword included.
Which is the correct syntax in this case?
Thanks in advance
Sammy