C# Compiler Error – CS1959 ‘{0}’ is of type ‘{1}’. the type specifi

In this blog post, you’ll learn more about the C# Compiler Error – CS1959 and the related message description

C# Compiler Error Code

CS1959

C# Compiler Description for the Code :CS1959

‘{0}’ is of type ‘{1}’. The type specified in a constant declaration must be sbyte, byte, short, ushort, int, uint, long, ulong, char, float, double, decimal, bool, string, an enum-type, or a reference-type.

Tags :

Leave Your Comment