S
Slavyan
(I just started to learn C#.NET)
What's the syntax in c# for a class to inherit more than one class.
I know following syntax:
public class MyClass : MyOtherClass
{
}
but I need to inherit one more class.
Something like this won't work:
public class MyClass : MyOtherClass : MyAnotherClass
{
}
neither does this
public class MyClass : MyOtherClass, MyAnotherClass
{
}
so could someone give me a hint.
And by the way does anyone know any good resources on internet to learn C#.
Thanks.
What's the syntax in c# for a class to inherit more than one class.
I know following syntax:
public class MyClass : MyOtherClass
{
}
but I need to inherit one more class.
Something like this won't work:
public class MyClass : MyOtherClass : MyAnotherClass
{
}
neither does this
public class MyClass : MyOtherClass, MyAnotherClass
{
}
so could someone give me a hint.
And by the way does anyone know any good resources on internet to learn C#.
Thanks.