new :
the new keyword can be used as an operator, a modifier, or a constraint.
new Operator : Used to create objects and invoke constructors.
Animal an = new Animal();
new Modifier : Used to hide an inherited member from a base class member.
public class BaseC<br />
{<br />
public int x;<br />
public void Invoke() { }<br />
}<br />
public class DerivedC : BaseC<br />
{<br />
new public void Invoke() { }<br />
}
new Constraint : Used to restrict types that might be used as arguments for a type parameter in a generic declaration.
class ItemFactory<t> where T : new()<br />
{<br />
public T GetNewItem()<br />
{<br />
return new T();<br />
}<br />
}</t>
typeof :
Used to obtain the System.Type object for a type. A typeof expression takes the following form:
System.Type type = typeof(int);
You could have find more info on MSDN. :)
-KR