Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public string Name
- {
- get => name;
- set
- {
- //Validate before accepting it
- if (!string.IsNullOrEmpty(value))
- {
- name = value;
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement