Current .Net Version: 1.1.4322
Home
Articles
Practice C# Online
C# Reference
XML Web Services
RSS Feeds
T-SQL Scripts
Videos
Valuable Links
Contact Us
Mike's C#, VS.NET and SQL Blog
ROR XML Info.
C# Reference
The world's largest C# Language & Framework Class Library Reference Database (second only to Microsoft's)!
Language Reference:
Language Search:
Framework Class Library Reference:
Framework Class Library Search:

base-type
Is a:Definition
Applies to Version:C# 1.0 and later
Namespace:N/A
Assembly:N/A (N/A)
Description:The type from which another type directly inherits. It's the parent type that a type directly inherits from that determines its base type.
MSDN:http://msdn.microsoft.com/library/en-us/csspec/html/vclrfcsharpspec_7_3_1.asp?frame=true
Example(s):public void SomeMethod() { MyClass3 mc = new MyClass3(); // the base type of mc is NOT MyClass1, it's MyClass2 } public class MyClass1 { public MyClass1() {} } public class MyClass2 : MyClass1 { // inherits from MyClass1 - the base type public MyClass2() {} } public class MyClass3 : MyClass2 { // inherits from MyClass2 - the base type public MyClass3() {} }
 
COPYRIGHT/DISCLAIMER | CONTACT US