Return to Snippet

Revision: 42688
at March 9, 2011 04:22 by AndewAllison


Initial Code
@(Model.Roles == null ? "No" : Model.Roles.Count.ToString())

Initial URL

                                

Initial Description
This is far from ground breaking but I forget it all the time so thought this might be a useful place to keep a reference of it

Initial Title
Null check for razor in line text display

Initial Tags
aspnet

Initial Language
C#