Snippet: throw new ArgumentException

property value
IDE Visual Studio
Language C#
Title throw new ArgumentException
Shortcut twn
Description throw new ArgumentException
Snippet Types Expansion
Namespaces System

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
message Exception message "" yes
parameter Parameter name parameter yes

Code

throw new ArgumentException("", nameof(parameter));