HomeCSharpPage 18

CSharp

Showing 341 - 360 of 961 results
C# Error CS1593 โ€“ Delegate โ€˜{0}โ€™ does not take {1} arguments Reason for the Error & Solution Delegate โ€˜delโ€™ does...
C# Compiler Error CS0182 โ€“ An attribute argument must be a constant expression, typeof expression or array creation expression of...
C# Compiler Error CS0061 โ€“ Inconsistent accessibility: base interface โ€˜interface 1โ€™ is less accessible than interface โ€˜interface 2โ€™ Reason for...
C# Compiler Error CS0215 โ€“ The return type of operator True or False must be bool. Reason for the Error...
You can easily convert the C# object to JSON string by using the Newtonsoft.Json NuGet package which is one of...
Do you have a requirement where you would need to count the number of words in a string in C#...
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# Compiler Error CS0051 โ€“ Inconsistent accessibility: parameter type โ€˜typeโ€™ is less accessible than method โ€˜methodโ€™ Reason for the Error...
This C# program is designed to add two dates together. It allows users to input two dates in the โ€œYYYY-MM-DDโ€...
C# Error CS0599 โ€“ Invalid value for named attribute argument โ€˜{0}โ€™ Reason for the Error & Solution Invalid value for...
C# Error CS0562 โ€“ The parameter of a unary operator must be the containing type Reason for the Error &...
C# Error CS1104 โ€“ A parameter array cannot be used with โ€˜thisโ€™ modifier on an extension method Reason for the...
C# Compiler Error CS0545 โ€“ โ€˜functionโ€™ : cannot override because โ€˜propertyโ€™ does not have an overridable get accessor Reason for...
There are times when you are working on a console application in C# and you might want to get the...
How to Log off from Windows programmatically using C# ? Below is a simple program that lets you to Log...
In geometry, Pythagoras theorem is used to find the length of the hypotenuse of a right-angled triangle. In this task,...
C# Compiler Error CS0509 โ€“ โ€˜class1โ€™ : cannot derive from sealed type โ€˜class2โ€™ Reason for the Error Youโ€™ll get this...
C# Compiler Error CS0523 โ€“ Struct member โ€˜struct2 fieldโ€™ of type โ€˜struct1โ€™ causes a cycle in the struct layout Reason...
This C# program retrieves and displays the current local time for the system. Local time represents the time in the...
C# Compiler Error CS0181 โ€“ Attribute constructor parameter โ€˜valueโ€™ has type โ€˜decimalโ€™, which is not a valid attribute parameter type...