Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- namespace DemoCapsulation
- {
- public class Creature
- {
- //полета -> характеристики
- private string name;
- private int years;
- private string areal;
- //GET и SET
- public string Name { get; set; }
- public int Years { get; set; }
- public string Areal { get; set; }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement