|
Listing 4-8 extracted from chapter The CLR (Common Languages Runtime)
Listing 4-7< > Listing 4-9
This listing can be compiled with the command line: csc.exe /out:MyManagedLib.dll /target:library Example_4_8_to_rename_MyManagedLib.cs Errors: 0 Warnings: 0
Example_4_8_to_rename_MyManagedLib.cs
namespace MyProgramNamespace {
public class MyClass {
public static int MyMethod(string s) {
System.Console.WriteLine(s);
return 0;
}
}
}
Copyright Patrick Smacchia 2006 2007
|