- . , Integer, (#, , . ), - . , , Int32 int. , , -:
public class Integer
{
public int Value { get; set; }
public Integer() { }
public Integer( int value ) { Value = value; }
public static implicit operator Integer( Int32 x ) { return new Integer( x ); }
public static implicit operator Int32( Integer x ) { return x.Value; }
public override string ToString()
{
return string.Format( "Integer({0})", Value );
}
}