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...