Category: C#
C# Compiler Error – CS8878 a copy constructor ‘{0}’ must be public
In this blog post, you’ll learn more about the C# Compiler Error – CS8878 and the related message description C# Compiler Error Code CS8878 C# Compiler Description for the Code :CS8878 A copy constructor ‘{0}’ must be public or protected because the record is not sealed.
C# Compiler Error – CS0646 cannot specify the defaultmember attribu
In this blog post, you’ll learn more about the C# Compiler Error – CS0646 and the related message description C# Compiler Error Code CS0646 C# Compiler Description for the Code :CS0646 Cannot specify the DefaultMember attribute on a type containing an indexer
C# Compiler Error – CS0836 cannot use anonymous type in a constant
In this blog post, you’ll learn more about the C# Compiler Error – CS0836 and the related message description C# Compiler Error Code CS0836 C# Compiler Description for the Code :CS0836 Cannot use anonymous type in a constant expression
How to Validate a Social Security Number using Regex in C# ?
If you need to validate a social security number in C# , the regular expressions is one of the easy wat to do it . Below is a sample code snippet demonstrating how to validate a social security number using regular expression . The pattern for matching it is that SSN number contains nine digits grouped with hypen as option. How to Validate a Social…
C# Compiler Error – CS1612 cannot modify the return value of ‘{0}’
In this blog post, you’ll learn more about the C# Compiler Error – CS1612 and the related message description C# Compiler Error Code CS1612 C# Compiler Description for the Code :CS1612 Cannot modify the return value of ‘{0}’ because it is not a variable
C# Compiler Error – CS1593 delegate ‘{0}’ does not take {1} argumen
In this blog post, you’ll learn more about the C# Compiler Error – CS1593 and the related message description C# Compiler Error Code CS1593 C# Compiler Description for the Code :CS1593 Delegate ‘{0}’ does not take {1} arguments
C# Compiler Error – CS0528 ‘{0}’ is already listed in interface lis
In this blog post, you’ll learn more about the C# Compiler Error – CS0528 and the related message description C# Compiler Error Code CS0528 C# Compiler Description for the Code :CS0528 ‘{0}’ is already listed in interface list
C# Compiler Error – CS8797 partial method ‘{0}’ must have accessibi
In this blog post, you’ll learn more about the C# Compiler Error – CS8797 and the related message description C# Compiler Error Code CS8797 C# Compiler Description for the Code :CS8797 Partial method ‘{0}’ must have accessibility modifiers because it has ‘out’ parameters.
C# Compiler Error – CS0745 expected contextual keyword ‘by’
In this blog post, you’ll learn more about the C# Compiler Error – CS0745 and the related message description C# Compiler Error Code CS0745 C# Compiler Description for the Code :CS0745 Expected contextual keyword ‘by’
Can the PDF file be saved in the Media Library of Windows Phone?
This is one of the common question asked by few developers or Windows phone users. Can the PDF file be saved in the Media Library of Windows Phone? The Media Library of Windows Phone allows the users to save only the Images and hence there is no possibility to save PDF or files of any file format in it.
C# Compiler Warning – CS1700 assembly reference ‘{0}’ is invalid and
In this blog post, you’ll learn more about the C# Compiler Warning – CS1700 and the related message description C# Compiler Warning Code CS1700 C# Compiler Description for the Code :CS1700 Assembly reference ‘{0}’ is invalid and cannot be resolved
C# Compiler Error – CS0856 indexed property ‘{0}’ has non-optional
In this blog post, you’ll learn more about the C# Compiler Error – CS0856 and the related message description C# Compiler Error Code CS0856 C# Compiler Description for the Code :CS0856 Indexed property ‘{0}’ has non-optional arguments which must be provided