Was just watching a video of a rather great Microsoft instructor, Mike Taulty. In his videos he consistently surrounded his return values with parentheses, even single values:
return (null);
Is there some hidden benefit with IntelliSense, or maybe something with the compiler, that this provides?
Code below:
public ObservableCollection<MailViewModel> Emails
{
get
{
return (emails);
}
set
{
emails = value;
}
}
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…