https://learn.microsoft.com/en-gb/dotnet/api/system.argumentexception.throwifnullorempty?view=net-10.0&viewFallbackFrom=netframework-4.8.1
ArgumentException.ThrowIfNullOrEmpty(String, String) Method (System) | Microsoft Learn
Throws an exception if argument is null or empty.
stringmethodsystemmicrosoftlearn