Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# prototype function

partial class MyClass {
    partial void Foo();
}

// This can be in another file
partial class MyClass  {
    partial void Foo() {
        Console.WriteLine("Foo");
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #prototype #function
ADD COMMENT
Topic
Name
4+2 =