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
Tommy Sin
NA
19
104.3k
Regarding what to type into the parameter of this given function
Jan 13 2011 11:40 AM
Hello, I am just began working on the software development and have few questions about some function as I have not used C# for like a year. Here is my question, In the function at the bottom, I am just wondering what "([Optional, DefaultValue(Constants.SilentLoud.Loud)]" stands for. Is it kinda like a data type? and then, what should I type in to this parameter when I need to call this function? Could you please explain what it stands for and what it does?
The function is:
Public object Close([Optional, DefaultValue(Constants.SilentLoud.Loud)] Constants.SilentLoud silent)
Thank you very much!
Reply
Answers (
1
)
Sending sms through mobile connected with pc
how do I display a usercontrol on a panel