Showing posts with label casting. Show all posts
Showing posts with label casting. Show all posts

Friday, March 17, 2017

Handling Nullable Guid


Issue

How to cast nullable Guid inline?

 return source ?? Guid.Empty;

Source

http://stackoverflow.com/questions/5498528/how-to-convert-guid-to-guid