Posts
1150
Comments
891
Trackbacks
1
I probably could have written this code better

Long-ish project converting an app of mine from Asp.Net 3/4 to Asp.Net Core (half conversion, half rewrite kind of thing) and came across this gem:


public class AttemptToChangePasswordResult
{
    public bool Succeeded { get; set; }
}

At least it is fairly clear.

posted on Monday, August 08, 2016 7:15 PM Print
Comments
No comments posted yet.

Post Comment

Title *
Name *
Email
Url
Comment *  
Please add 7 and 7 and type the answer here: