Category: C#
C# Compiler Error – CS8138 cannot reference ‘system.runtime.compile
In this blog post, you’ll learn more about the C# Compiler Error – CS8138 and the related message description C# Compiler Error Code CS8138 C# Compiler Description for the Code :CS8138 Cannot reference ‘System.Runtime.CompilerServices.TupleElementNamesAttribute’ explicitly. Use the tuple syntax to define tuple names.
C# Compiler Error – CS8030 anonymous function converted to a void r
In this blog post, you’ll learn more about the C# Compiler Error – CS8030 and the related message description C# Compiler Error Code CS8030 C# Compiler Description for the Code :CS8030 Anonymous function converted to a void returning delegate cannot return a value
How to Remove Duplicates in List using LINQ?
There are times when you have to remove duplicate entried from a List from Your C# program and one of the easiest way to do that is using the combination of the LINQ and IEqualityComparer interface. Assume that you have a list of Actors as shown below ID : 1 , Name = Vijay ,Language = TamilID : 2 , Name = Rajni ,Language =…
C# Compiler Error – CS8781 relational patterns may not be used for
In this blog post, you’ll learn more about the C# Compiler Error – CS8781 and the related message description C# Compiler Error Code CS8781 C# Compiler Description for the Code :CS8781 Relational patterns may not be used for a value of type ‘{0}’.
C# Compiler Error – CS1654 cannot modify members of ‘{0}’ because i
In this blog post, you’ll learn more about the C# Compiler Error – CS1654 and the related message description C# Compiler Error Code CS1654 C# Compiler Description for the Code :CS1654 Cannot modify members of ‘{0}’ because it is a ‘{1}’
C# Compiler Error – CS1639 the managed coclass wrapper class signat
In this blog post, you’ll learn more about the C# Compiler Error – CS1639 and the related message description C# Compiler Error Code CS1639 C# Compiler Description for the Code :CS1639 The managed coclass wrapper class signature ‘{0}’ for interface ‘{1}’ is not a valid class name signature
C# Compiler Error – CS1679 invalid extern alias for ‘/reference’; ‘
In this blog post, you’ll learn more about the C# Compiler Error – CS1679 and the related message description C# Compiler Error Code CS1679 C# Compiler Description for the Code :CS1679 Invalid extern alias for ‘/reference’; ‘{0}’ is not a valid identifier
How to Programatically Check if the Location Services is Turned On or Off in Windows Phone 8 ?
Below is a sample code snippet that demonstrates how to programmatically check if the Location Services is turned On or Off in Windows Phone 8 . How to Programatically Check if the Location Services is Turned On or Off in Windows Phone 8 ?
C# Compiler Error – CS8917 the delegate type could not be inferred.
In this blog post, you’ll learn more about the C# Compiler Error – CS8917 and the related message description C# Compiler Error Code CS8917 C# Compiler Description for the Code :CS8917 The delegate type could not be inferred.
C# Compiler Error – CS8702 ‘{0}’ cannot implement interface member
In this blog post, you’ll learn more about the C# Compiler Error – CS8702 and the related message description C# Compiler Error Code CS8702 C# Compiler Description for the Code :CS8702 ‘{0}’ cannot implement interface member ‘{1}’ in type ‘{2}’ because the target runtime doesn’t support default interface implementation.
C# Compiler Error – CS0208 cannot take the address of, get the size
In this blog post, you’ll learn more about the C# Compiler Error – CS0208 and the related message description C# Compiler Error Code CS0208 C# Compiler Description for the Code :CS0208 Cannot take the address of, get the size of, or declare a pointer to a managed type (‘{0}’)
C# Compiler Error – CS0845 an expression tree lambda may not contai
In this blog post, you’ll learn more about the C# Compiler Error – CS0845 and the related message description C# Compiler Error Code CS0845 C# Compiler Description for the Code :CS0845 An expression tree lambda may not contain a coalescing operator with a null or default literal left-hand side