Vkn

Field: static readonly Vkn Empty

It is an empty Vkn object.


Method: static Vkn Parse(String)

The method converts the tax number in the string type to the Vkn object.

    Vkn.Parse("4700612053"); //true
Parameter Name Description
vknString Tax number in string type

Error Type: FormatException (This error is thrown if the tax number is not suitable for the algorithm.)


Property: string Value

The tax number is returned in string type.


Method: string ToString()

The tax number is returned in string type.

The result value of the ToString of the default value is the empty string .

    default(Vkn).ToString(); //string.Empty;

Method: object Clone()

Creates and returns a new instance with the tax number stored in the string type of the instance.

    Vkn vkn = Vkn.Parse("4700612053").Clone();

Method: bool Equals(Object)

Returns true if the given object has the same value as the Vkn object and the data, false otherwise.

Parameter Name Description
obj Object to be compared

Method: bool Equals(Vkn)

Returns true if the given Vkn object has the same value as the data, false otherwise.

Parameter Name Description
other The object of type Vkn to be compared