8
Prawidłowe wdrażanie IDisposable
W moich zajęciach implementuję IDisposable w następujący sposób: public class User : IDisposable { public int id { get; protected set; } public string name { get; protected set; } public string pass { get; protected set; } public User(int UserID) { id = UserID; } public User(string Username, string …