Skip to the content.

< Back


MyObsoleteClass

Namespace: MyClassLib

Caution

Deprecated, use MyClass instead.


My obsolete class.

public class MyObsoleteClass

Inheritance ObjectMyObsoleteClass
Attributes ObsoleteAttribute

Remarks:

A remark.

Fields

myField

Caution

This member is obsolete.


My field.

public int myField;

Properties

MyProperty

Caution

This member is obsolete.


My property.

public string MyProperty { get; protected set; }

Property Value

String
The property value.

ProtectedProperty

Protected property.

protected string ProtectedProperty { get; set; }

Property Value

String
The property value.

MyProperty2

Instances.

public int MyProperty2 { get; set; }

Property Value

Int32

StaticProperty

This is my Static property.

public static int StaticProperty { get; set; }

Property Value

Int32

Constructors

MyObsoleteClass()

Caution

This member is obsolete.


Initializes a new instance of the MyClass class.

public MyObsoleteClass()

Remarks:

See also MyClass.MyClass(String, Int32).

if (true)
{
    var foo = new MyClass("foo", 1);
    Console.WriteLine(foo.ToString());
}

Methods

Get(List<String>)

Caution

This member is obsolete.


Gets some thing.

public string Get(List<string> param)

Parameters

param List<String>
The param.

Returns

String
An empty string.

Exceptions

Exception
Thrown when…

StaticMethod()

Caution

Deprecated in favor of MyClass.


A static method.

public static void StaticMethod()

< Back