HomeCSharpPage 5

CSharp

Showing 81 - 100 of 961 results
In this post, youโ€™ll learn all the C# compiler error and warnings from the code CS1001 to CS1500. C# Compiler...
C# Error CS0761 โ€“ Partial method declarations of โ€˜{0}โ€™ have inconsistent constraints for type parameter โ€˜{1}โ€™ Reason for the Error...
C# multiline string literal (@) is one of the feature which allows the c# developers to use @ symbol in...
Hereโ€™s simple code snippet demonstrating how to validate a UK Telephone number (both Mobile and landline number) using regular expression...
C# Error CS1609 โ€“ Modifiers cannot be placed on event accessor declarations Reason for the Error & Solution Modifiers cannot...
C# Compiler Error CS0145 โ€“ A const field requires a value to be provided Reason for the Error When declaring...
C# Error CS0759 โ€“ No defining declaration found for implementing declaration of partial method โ€˜{0}โ€™ Reason for the Error &...
Zip method in C# in an interesting extension method that lets the developers to join together two array sequences (IEnumerable)....
In this C# program, we start by providing a welcome message and prompting the user to enter two dates in...
C# Compiler Error CS0513 โ€“ โ€˜functionโ€™ is abstract but it is contained in nonabstract class โ€˜classโ€™ Reason for the Error...
C# Error CS0711 โ€“ Static classes cannot contain destructors Reason for the Error & Solution Static classes cannot contain destructors...
C# Error CS0723 โ€“ Cannot declare a variable of static type โ€˜{0}โ€™ Reason for the Error & Solution Cannot declare...
C# Error CS0622 โ€“ Can only use array initializer expressions to assign to array types. Try using a new expression...
This C# program demonstrates how to find the product of two numbers using recursion. Recursion is a technique where a...
C# 6.0 Features Series How to try C# 6.0 and Rosyln? Getter-only (Read Only) Auto Properties in C# 6.0 Lambda...
C# Error CS8152 โ€“ โ€˜{0}โ€™ does not implement interface member โ€˜{1}โ€™. โ€˜{2}โ€™ cannot implement โ€˜{1}โ€™ because it does not have...
C# Error CS1994 โ€“ The โ€˜asyncโ€™ modifier can only be used in methods that have a body. Reason for the...
In one of my previous blog post, I shared some information on how to get started with the Windows 8...
C# Error CS0567 โ€“ Conversion, equality, or inequality operators declared in interfaces must be abstract or virtual Reason for the...