15.02.2015 Views

C# 4 and .NET 4

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

OC178 ❘ ChaPTer 53 c#, visuAl bAsic, c++/cli, And f#<br />

Keywords<br />

Keywords important for inheritance are mapped in the following table.<br />

<strong>C#</strong> C++/Cli Visual basiC f# funCTionaliTy<br />

: : Implements interface with Implement an interface<br />

: : Inherits inherit Inherits from a base class<br />

virtual virtual Overridable abstract Declare a method to support<br />

polymorphism<br />

overrides override Overrides override Override a virtual method<br />

new new Shadows Hide a method from a base class<br />

abstract abstract MustInherit [

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!