DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
trhow exception if is null c#
var firstName = name ?? throw new ArgumentException("Mandatory parameter", nameof(name),);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#trhow
#exception
#null
ADD COMMENT
Topic
COMMENT
Name
6+2 =
Submit