Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
object o = "1"; //or 1.ToString();
int i = (int)o;
object o = "1"; //or 1.ToString();
int i = o as int;
ArrayList al = new ArrayList();
al.Add(3.4);
MessageBox.Show([b]([/b](double)al[0][b])[/b].ToString("#.00"));
var al = new List<int>();
al.Add(12);
int k = al[0];
class Foo {}
class Bar{}
class TryMe
{
public Bar GetExceptionWithCast()
{
object o = new Foo();
return (Bar)o;
}
public Bar GetNullValue()
{
object o = new Foo();
return o as Bar;
}
}