Created
December 16, 2015 16:20
-
-
Save lowenthal-jason/80781f87309bdabc644b to your computer and use it in GitHub Desktop.
Example domain class written in C# for Multilingual Programming post on Simple Programmer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class StarfleetCadet | |
{ | |
private bool KlingonSpeaker; | |
public bool IsKlingonSpeaker(){ | |
return this.klingonSpeaker; | |
} | |
public void SetKlingonSpeaker(bool klingonSpeakerIn){ | |
this.klingonSpeaker = klingonSpeakerIn; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment