Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- internal struct NewsPost
- {
- private readonly int _ID;
- public int ID {
- get { return _ID; }
- }
- private readonly string _Name;
- public string Name {
- get { return _Name; }
- }
- private readonly System.DateTime _Time;
- public System.DateTime Time {
- get { return _Time; }
- }
- public NewsPost(object id, object name, object time)
- {
- _ID = (int)id;
- _Name = (string)name;
- _Time = (System.DateTime)time;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment