Implicit ToString function for numeric types

i_declined

#1

Lets say we have:

String s = “string”;
int n = 0;

I would like to be able to write: WriteLine(s + n); and the result to be “string0”.


#2

You can do this using the fabulous Generic Value. :slight_smile:


#3

“Elegant weapons, for a more civilised world”