views:

135

answers:

1

We're migrating our dev shop away from XCode to MonoTouch.

In Objective-C, the [super] is the same as a call to base in C#?

+1  A: 

In C#, the base keyword is used to access members of the base class from within a derived class:

Call a method on the base class that has been overridden by another method.

public override void Foo()
{
    base.Foo();
}

Specify which base-class constructor should be called when creating instances of the derived class.

class Bar : Baz
{
    Bar( string s ) : base(s)
    {
    }
}
Lachlan Roche