Okay, so I've used this without even knowing 100% about what it is. I know what it does so I've always just called it the "type of object" but I want to know what this is really called. For example, I create a class and I want it to be a type of another class. I do this:
public class Class1 : Class2 { /* Stuff */ }
But I've never really understood it. I picked it up while building custom controls and figured out that I could use it to create modified copies of certain classes. The reason I now want to know, is that one I'm having to use it more often; and I've recently seen one that blew my mind:
public class Class1 : Class2, Class3 { /* Stuff */ }
So an explanation on these would be greatly appreciated. I would like to know what the ':' character is actually called in this particular case. Kind of like || is the OR operator.
Thanks,
Jamie
P.S. - If there is such a thing, what would '::' be and what would it be used for? Because I know that '||' is used in conditional and '|' is not, so if there is a '::' please explain that one as well. :)