Stats
2,246
reputation
1k
reached
0
answers
4
questions
Loading…
About
My favorite answers:
How to utilize get_masterTableView from a dynamically created RadGrid
http://stackoverflow.com/questions/24025733/radcombobox-doesnt-collapse-on-click/24063259#24063259
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
View all badges
This user doesn’t have any gold badges yet.
11
-
Yearling
× 11Aug 17, 2023
6
-
Popular QuestionSep 17, 2015
-
StudentMay 20, 2014
-
Nice QuestionMay 30, 2014
Top tags
View all tags
0
Score
3
Posts
75
Posts %
0
Score
1
Posts
25
Posts %
0
Score
1
Posts
25
Posts %
0
Score
1
Posts
25
Posts %
0
Score
1
Posts
25
Posts %
0
Score
1
Posts
25
Posts %
Top posts
Top network posts
View all network posts