I just converted a VB.net solution into C# solution. But lots of variables have been coverted like:
string var1 = (string)1;
string var2 = (string)intVar; //intVar is a int value
I just want to convert all (string)XXXX
to XXXX.ToString()
by using some Regular expressions or some other replace methods.
Can someome help me out?