DanM7's user avatar
DanM7's user avatar
DanM7's user avatar
DanM7
  • Member for 10 years, 7 months
  • Last seen more than 10 years ago
About

My favorite answers:

http://stackoverflow.com/questions/26407257/basic-instruction-needed-c-sharp-asp-net-hiding-edit-radgridview/26412571#26412571

How to utilize get_masterTableView from a dynamically created RadGrid

http://stackoverflow.com/questions/25666583/nested-radgrid-in-edit-mode-has-unchanged-values/25693933#25693933

http://stackoverflow.com/questions/24025733/radcombobox-doesnt-collapse-on-click/24063259#24063259

http://stackoverflow.com/questions/24278446/telerik-combobox-onclientkeypressing-searching-is-very-slow/24286625#24286625

Me:

public class DanM7
{
    public readonly string eduCollege = "University of Connecticut";
    public readonly string eduMajor = "Computer Science & Engineering";
    public readonly string eduMinor = "Mathematics";
    public readonly string profession;
    public readonly favLang;
    public readonly hobby1;
    public readonly hobby2;
    public readonly favoriteTv1;
    private readonly favoriteTv2;

    public DanM7()
    {
        profession = "Senior Application Developer";
        favLang = "C#";
        hobby1 = "Platform Games";
        hobby2 = "Baseball";
        favoriteTv1 = "Parks & Rec";
        favoriteTv2 = "Vampire Diaries"; // Let's keep this Private. But you should try it.
    }

    public string TalkSports(DateTime? dateCurrent)
    {
        return (dateCurrent == null) ? "How 'bout those Red Sox?" :
            (dateCurrent.Month == 3) ? "U! C! O! N! N!" :
            (dateCurrent.Month < 3 || dateCurrent.Month > 8) ? "Brady'll get #6 this year!" :
            "18 for Celtics, right?";
    }

    public string TalkMusic(string bandFavorite)
    {
         return (bandFavorite == null || bandFavorite != "Led Zeppelin") ? "C'mon." : 
             "That's right!";
    }

    // ToDo: More methods and uses for the class...
}
Badges
This user doesn’t have any gold badges yet.
This user doesn’t have any silver badges yet.
2
bronze badges
Posts

This user hasn’t posted yet.