>>Use [] instead of () in c#.
>
>Yes. But I must still use ...ToString() method as
MyVar = MyObj.ToString()).
>Then I can do
DateTime.Parse(MyVar)) or
int.Parse(MyVar)) or
double.Parse(MyVar)) or
bool.Parse(MyVar) etc....
Sam again
DateTime myVar = (DateTime)MyObj;
int myVar = (int)MyObj;
double myVar = (double)MyObj;
DataSet myVar = (DataSet)MyObj;
Think u get the idea.
Alexandre Palma
Senior Application Architect