ANTON KADACH

Generation

class from descriptionTue, 17 Jan 2023

создай класс "запрос на изменение" с полями номер запроса, имя запроса, дата создания

public class ChangeRequest { private int _number; public int Number { get { return this._number; } set { this._number = value; } } private string _title; public string Title { get { return this._title; } set { this._title = value; } } private DateTime _creationDate; public DateTime CreationDate { get { return this._creationDate; } set { this._creationDate = value; } } public ChangeRequest(int number, string title, DateTime creationDate) { this.Number = number; this.Title = title; this.CreationDate = creationDate; } }

Questions about programming?Chat with your personal AI assistant