Category: C#

C# Compiler Error – CS1662 cannot convert {0} to intended delegate

In this blog post, you’ll learn more about the C# Compiler Error – CS1662 and the related message description C# Compiler Error Code CS1662 C# Compiler Description for the Code :CS1662 Cannot convert {0} to intended delegate type because some of the return types in the block are not implicitly convertible to the delegate return type

What is the best data type for Currency in C#?

If you are looking at finding out what could be the best data type for currency in C# ?, this post will provide a quick tip or insights on the same. What is the best data type for Currency in C#? Use decimal for any currency or money values. The decimal keyword indicates a 128-bit data type. Compared to floating-point types, the decimal type has…