Skip to the content.

< Back


SubClass

Namespace: MyClassLib.SubNamespace

Sub class from MyClass

public class SubClass : MyClassLib.MyClass, MyClassLib.IMyInterface

Inheritance ObjectMyClassSubClass
Implements IMyInterface

Fields

myField

My field.

public int myField;

Properties

MyProperty

My property.

public string MyProperty { get; protected set; }

Property Value

String
The property value. Used by MyClass.DoGeneric<T>(T).

Example

This example assign "foo" to MyProperty.

foo.MyProperty = "foo";

MyEnum

My enum

public MyEnum MyEnum { get; set; }

Property Value

MyEnum
The enum value

Constructors

SubClass()

public SubClass()

Methods

ToString()

Convert instance to string.

public string ToString()

Returns

String
A string.

Events

MyEvent

My event.

public event EventHandler<EventArgs> MyEvent;

< Back