Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

wat

Name: Anonymous 2011-08-14 23:38

So in C++ I could do

class A {
    int B();
}

int A::B()
{
    return 1;
}


i.e. I could keep my class definition and the code for the methods separate, but I can't figure out how to do the same thing in C#.  Do I really have to use "partial class A {}" in front of everything?

Name: Anonymous 2011-08-15 2:58

>>9
lol C# jobs and programmers

Name: Anonymous 2011-08-15 5:17

>>1

It's a feature to ensure you keep your classes & methods small. :3

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List