TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Kopano Choane
NA
8
3.2k
Strongly typed collection
Apr 23 2013 2:23 AM
Good Morning
Lets I want to validate something inside a property...
private string _phoneType;
public string PhoneType
{
get
{
return _phoneType;
}
set
{
_phoneType = value;
}
}
valid values for PhoneType are: "Home", "Mobile" and "Work". If an invalid value
is supplied, an ArgumentOutOfRangeException must be thrown using the 5th
overload with 3 parameters, with meaningful messages
Please explain what that above statement mean.
Reply
Answers (
3
)
mssql 2008 connection method
Dropdown boxes with conditions on c#