 Implicit conversion operator

class Foo
// Implicit conversion
Foo foo = 2;


Explicit conversion operator

class Foo
// Explicit conversion
Foo foo = (Foo)2;


The operator will attempt to do a silent cast to a given type.It will return the object as the new type if possible, and otherwise will return null.Stream stream = File.Open(@"C