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: !!1ILcdKBYf7nyXyy 2011-08-16 12:51

>>17
I'm not the fuckwit that thinks the compiler were always single pass. Perhaps if you would have written some actual production level C code in your life you wouldn't have much such an idiotic statement. But alas, your limited mental capacity doesn't take you that far. Now go back to serving another customer or go replace another network switch you general labor monkey.

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