python - C# boolean capitalization -
i'm working in python c# library have edit. in python, booleans specified true/false. in c#, true/false. driving me crazy. there way use #define or make c# recognize true/false true/false?
one way declare constant reflects true
value.
public const bool true = true;
i wouldn't go down path though seems more personal choice. may confuse other developers , doesn't add general value.
Comments
Post a Comment