HomeCSharpPage 44

CSharp

Showing 861 - 880 of 961 results
C# Error CS0664 – Literal of type double cannot be implicitly converted to type ‘{1}’; use an ‘{0}’ suffix to...
C# Error CS0670 – Field cannot have void type Reason for the Error & Solution Field cannot have void type...
C# Error CS2024 – Invalid file section alignment ‘{0}’ Reason for the Error & Solution Invalid file section alignment number...
This C# program is designed to determine the minimum and maximum values within an array of integers. Finding the minimum...
C# Error CS1689 – Attribute ‘{0}’ is only valid on methods or attribute classes Reason for the Error & Solution...
C# Error CS1639 – The managed coclass wrapper class signature ‘{0}’ for interface ‘{1}’ is not a valid class name...
This C# program identifies and prints all Armstrong numbers within the range of 1 to 1000. Armstrong number (also known...
C# Error CS1515 – ‘in’ expected Reason for the Error & Solution ‘in’ expected In a statement, the "in" part...
C# Error CS1022 – Type or namespace definition, or end-of-file expected Reason for the Error & Solution Type or namespace...
The Object Initializer and Collection Initializer in C# are similar to initialized Array and Object Constructor where we are able...
If you need to translate a hostname (for example : Ginktage.com) to its IP Address  , you can use the...
This tutorial will demonstrate in simple steps on how to retrieve a record (single record) from a table using Dapper...
Introduction This program developed using C# , .NET Framework and Visual Studio demonstrates how to find if the entered year...
C# Compiler Error CS0123 – No overload for ‘method’ matches delegate ‘delegate’ Reason for the Error This C# error will...
C# Compiler Error CS0547 – ‘property’ : property or indexer cannot have void type Reason for the Error You will...
C# Compiler Error CS0504 – The constant ‘variable’ cannot be marked static Reason for the Error You’ll get this error...
C# Error CS1941 – The type of one of the expressions in the {0} clause is incorrect. Type inference failed...
C# Compiler Error Message CS0031 Constant value ‘value’ cannot be converted to a ‘type’ Reason for the Error You will...
C# Error CS1617 – Invalid option ‘{0}’ for /langversion. Use ‘/langversion:?’ to list supported values. Reason for the Error &...
C# Error CS1737 – Optional parameters must appear after all required parameters Reason for the Error & Solution Optional parameters...