overriding concerns
here is a bit more c#. this example uses the implicit operator to provide methods to handle conversions of your class. the examples i use are for string and int.
here is the source code:
With Line Numbers and
Without Line Numbers
and here is the output it produces:
BEGIN:
Create a new Test4
Test4 (blah) Constructor
one ->Example.Test4
(Test4)one->Test4:(blah)
(int)(Test4)one->42
Destruct our Test4
END
Test4 Finalize [blah]
|