Your full name:
Your nameWhat should I call you?
Your emailI'll never spam you. I promise.
Your commentMarkdown is fine.
Post your comment
is there any difference between ThrowHelper in the article and this variant:
ThrowHelper
public static class Throw{ public static void IfNullOrEmpty(string value, [CallerArgumentExpression(nameof(value))] string name = null) { if (string.IsNullOrEmpty(value)) { throw new ArgumentNullException(name, "Can't be null or empty"); } }}
?
Thanks for the article
Published 26 Feb 2022
1 comments on this page
Kirill Lappo (kira-dev)
is there any difference between
ThrowHelper
in the article and this variant:?
Thanks for the article