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.4k
Regarding C# syntax
Feb 10 2011 10:12 AM
I do not understand the return statement, can anyone explain what ?, : does and explain about the return statement?
Thanks
public
IAppTools
Get(
string
appToolName)
{
if
(
string
.IsNullOrEmpty(appToolName))
appToolName =
Constants
.APP_TOOL_NAME_DEFAULT;
return
_appTools.ContainsKey(appToolName) ? _appTools[appToolName] :
null
;
}
Reply
Answers (
3
)
Memory Leaks in Window Media Player + c#
Session in WCF Application