C
Charles
Please help me convert the following Java to C#
class ProgramChoice {
private Class cls;
private String text;
ProgramChoice(String text, Class cls) {
this.cls = cls;
this.text = text;
}
public String toString() { return text; }
Class value() { return cls; }
}
Any help will be greatly appreciated.
Charles
class ProgramChoice {
private Class cls;
private String text;
ProgramChoice(String text, Class cls) {
this.cls = cls;
this.text = text;
}
public String toString() { return text; }
Class value() { return cls; }
}
Any help will be greatly appreciated.
Charles