Category: C#

How to Allow Null Values for Integer in C# ?

In order to allow null values to an integer or for any value types , we need to make the data type as Nullable<T> where T refers to type. How to Allow Null Values for Integer in C# ? There are 2 ways you can set null value to value types in C# .

C# Compiler Error – CS0564 the first operand of an overloaded shift

In this blog post, you’ll learn more about the C# Compiler Error – CS0564 and the related message description C# Compiler Error Code CS0564 C# Compiler Description for the Code :CS0564 The first operand of an overloaded shift operator must have the same type as the containing type, and the type of the second operand must be int