using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
class MyClass
{
public int i = 100;
}
namespace object1
{
class Test
{
static void Main(string[] args)
{
object o;
o = 100;
Console.WriteLine(o);
Console.WriteLine(o.GetType());
o = new MyClass();
MyClass myobj;
myobj = (MyClass)o;
Console.WriteLine(myobj.i);
string a = "/u0068ello ";
string b = "world";
char chr="test"[2];//chr=s
Console.WriteLine(a + b);
Console.WriteLine(a + b == "hello world");
Console.WriteLine("这个字符为:{0}.", chr);
Console.ReadLine();
}
}
}