Archive for Agosto 11th, 2008

checking for conditions in one statement - replacing if-then-else

CodeKeep C# Feed Agosto 11th, 2008

Description: a shortcut to writing an if.. then... else statement

Link: http://www.codekeep.net/snippets/3ab649fd-9e7b-47df-9f7d-68adfd628f8e.aspx

action.guid == null ? Guid.NewGuid() : action.guid