Forums - C# Corner

Forum guidelines
Hemalatha Sunnapu

Hemalatha Sunnapu

  • 1.6k
  • 166
  • 3.4k

How to call a method with valuetype . Its Urgetnt please

Nov 1 2018 12:06 AM
I have written a virtual method .
I want to call that method with  a valuetype... 
For ex:
   int a=23;
String str=a.ToString(); //str=23;
  Because ToString is a virtual method allows us to call with valutype. 
 

Answers (12)