The most noteable differences to Java are the following:
jni -> ctype jtype -> imtype jstype -> cstype javain -> csin javaout -> csout javainterfaces -> csinterfaces javabase -> csbase javaclassmodifiers -> csclassmodifiers javacode -> cscode javaimports -> csimports javaptrconstructormodifiers -> csptrconstructormodifiers javagetcptr -> csgetcptr javafinalize -> csfinalize
javaconst -> csconst javamethodmodifiers -> csmethodmodifiers
pragma(java) -> pragma(csharp) jniclassbase -> imclassbase jniclassclassmodifiers -> imclassclassmodifiers jniclasscode -> imclasscode jniclassimports -> imclassimports jniclassinterfaces -> imclassinterfaces
$javaclassname -> $csclassname $javainput -> $csinput $jnicall -> $imcall
Director support (callbacks into C#) have not yet been implemented.
The directory Examples/csharp has a number of examples. If your SWIG installation went well Unix users should be able to type make in each example directory, then ilrun runme (pnet C# compiler) or mono runme (Mono C# compiler). Windows users can also get the examples working but need a Cygwin or Mingw environment for automatic configuration of the example makefiles. Any one of the three C# compilers (pnet, mono or Microsoft) can be detected from within a Cygwin or MinGW environment. Some project files will be added soon for use with the Microsoft .NET C# compiler.