source/R5T.NetStandard.Types/Code/Helpers/ExceptionHelper.cs
/// <summary>
/// Provides a message indicating that an instance was not of the expected type.
/// </summary>
Provides a message indicating that an instance was not of the expected type.
Provides a message indicating that an instance was not of the expected type .
public static string UnexpectedTypeExceptionMessage(Type unexpectedType)
        {
            var output = $"Unexpected type. Type {unexpectedType.FullName} was unexpected.";
            return output;
        }
public static string UnexpectedTypeExceptionMessage ( Type unexpectedType ) { var output = $" Unexpected type. Type  { unexpectedType . FullName }  was unexpected. " ; return output ; }
Provides a message indicating that an instance was not of the expected type.
Provides a message indicating that an instance was not of the expected type .
unexpectedType
Type