public void MyFunction(double _values) {object objValue=_value;int convertedValue=(int)objValue;Console.WriteLine("Value is="+convertedValue.ToString()); }1) should this code compile Successfully ? 2) Any run Time Error and Exception ?
Humza Tufail
Select an image from your device to upload