Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# implicit operator

    public static implicit operator byte(Digit d) => d.digit;
    public static explicit operator Digit(byte b) => new Digit(b);
 
PREVIOUS NEXT
Tagged: #implicit #operator
ADD COMMENT
Topic
Name
9+7 =