Decompiler Inner Classes Dot Net Source
Program-Transformation.Org: The Program Transformation Wiki
This class is also from the book
Decompiling Java,
this time chapter 3:
using System;
public class Usa {
public String name = "Detroit";
public class England {
public String name = "London";
public class Ireland {
public String name = "Dublin";
public void print_names() {
Console.WriteLine(name);
}
}
}
public static void Main(String[] args) {}
}
Here,
England is an inner class of
Usa, and
Ireland is an inner class of
England. The above is compiled with
Mono's
mcs for Linux (no options).
--
MikeVanEmmerik - 07 Mar 2003
CategoryDecompilation