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 expectedType, Type foundType)
        {
            var output = $"Unexpected type. Expected: {expectedType.FullName}, Found: {foundType.FullName}";
            return output;
        }
public static string UnexpectedTypeExceptionMessage ( Type expectedType , Type foundType ) { var output = $" Unexpected type. Expected:  { expectedType . FullName } , Found:  { foundType . FullName } " ; 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 .
expectedType
Type
foundType
Type