Hello
I need the following code to work:
int a = "1234"
How can I modify the int type to accept string (or in ideal case to accept both string and int)???
Can I somehow modify it?
(I tried to inherite int to change its properties, but the compiler returns an error becouse of inheriting (I can't derive int)).
I would appreciate any help.
I need the following code to work:
int a = "1234"
How can I modify the int type to accept string (or in ideal case to accept both string and int)???
Can I somehow modify it?
(I tried to inherite int to change its properties, but the compiler returns an error becouse of inheriting (I can't derive int)).
I would appreciate any help.
Comment