hey,
guess I wanted to gernerate a commandline with flags and so on. Flags are of type bool but the commandline is a string like " /activeFlag". Is there a way to program a setter in C# which takes a bool but the getter returns a string?
like
private string activeFlag {
get { return activeFlag; }
set {
// the value here should be the bool
activeFlag = value ? " /activeFlag" : "";
}
}
Ciao Ephraim