Monday, September 25, 2017

Condition Throw Exception

if (list == null || list.Count < 1)

    throw new ApplicationException("Get list Failed.");

No comments:

Post a Comment