Category: C#
C# Compiler Error – CS1760 assemblies ‘{0}’ and ‘{1}’ refer to the
In this blog post, you’ll learn more about the C# Compiler Error – CS1760 and the related message description C# Compiler Error Code CS1760 C# Compiler Description for the Code :CS1760 Assemblies ‘{0}’ and ‘{1}’ refer to the same metadata but only one is a linked reference (specified using /link option); consider removing one of the references.
C# Compiler Error – CS0262 partial declarations of ‘{0}’ have confl
In this blog post, you’ll learn more about the C# Compiler Error – CS0262 and the related message description C# Compiler Error Code CS0262 C# Compiler Description for the Code :CS0262 Partial declarations of ‘{0}’ have conflicting accessibility modifiers
C# Compiler Hidden – CS8933 the using directive for ‘{0}’ appeared p
In this blog post, you’ll learn more about the C# Compiler Hidden – CS8933 and the related message description C# Compiler Hidden Code CS8933 C# Compiler Description for the Code :CS8933 The using directive for ‘{0}’ appeared previously as global using
Sending SMS from a Windows Phone 8.1 App
Do you want to send SMS from your Windows Phone 8.1 App ? . You can use the ChatMessage class in Windows Runtime to do it. Sending SMS from a Windows Phone 8.1 App Here’s a code that demonstrates how to send SMS from a Windows Phone 8.1 App .
How to get the Number of Elements in an MultiDimensional Array in C# ?
In one of the previous articles , we demonstrated the usage of the Length property of the array in C# to get the number of elements in it. In this post , lets have a look at getting the number of elements in the multi-dimentional array in C#. How to get the Number of Elements in an MultiDimensional Array in C# ? If you wanted…
C# Compiler Error – CS1055 an add or remove accessor expected
In this blog post, you’ll learn more about the C# Compiler Error – CS1055 and the related message description C# Compiler Error Code CS1055 C# Compiler Description for the Code :CS1055 An add or remove accessor expected
C# Compiler Error – CS1733 expected expression
In this blog post, you’ll learn more about the C# Compiler Error – CS1733 and the related message description C# Compiler Error Code CS1733 C# Compiler Description for the Code :CS1733 Expected expression
C# Compiler Error – CS8027 the field has multiple distinct constant
In this blog post, you’ll learn more about the C# Compiler Error – CS8027 and the related message description C# Compiler Error Code CS8027 C# Compiler Description for the Code :CS8027 The field has multiple distinct constant values.
C# Compiler Error – CS8010 agnostic assembly cannot have a processo
In this blog post, you’ll learn more about the C# Compiler Error – CS8010 and the related message description C# Compiler Error Code CS8010 C# Compiler Description for the Code :CS8010 Agnostic assembly cannot have a processor specific module ‘{0}’.
& and && in C#
Below is a sample soucrecode demonstrating the usage of & and && operator in c#.
How to convert Ascii value to character in C# ?
In C# , you can convert the Ascii value to its corresponding character by assigning the value to a character . How to convert Ascii value to character in C# ? Below is a sample sourcecode to demo how to convert Ascii value to character in C#
C# Compiler Error – CS8187 tuple element names are not permitted on
In this blog post, you’ll learn more about the C# Compiler Error – CS8187 and the related message description C# Compiler Error Code CS8187 C# Compiler Description for the Code :CS8187 Tuple element names are not permitted on the left of a deconstruction.
C# Compiler Warning – CS8883 use of possibly unassigned auto-implemen
In this blog post, you’ll learn more about the C# Compiler Warning – CS8883 and the related message description C# Compiler Warning Code CS8883 C# Compiler Description for the Code :CS8883 Use of possibly unassigned auto-implemented property ‘{0}’
C# Compiler Warning – CS0279 ‘{0}’ does not implement the ‘{1}’ patte
In this blog post, you’ll learn more about the C# Compiler Warning – CS0279 and the related message description C# Compiler Warning Code CS0279 C# Compiler Description for the Code :CS0279 ‘{0}’ does not implement the ‘{1}’ pattern. ‘{2}’ is not a public instance or extension method.
C# Compiler Error – CS0071 an explicit interface implementation of
In this blog post, you’ll learn more about the C# Compiler Error – CS0071 and the related message description C# Compiler Error Code CS0071 C# Compiler Description for the Code :CS0071 An explicit interface implementation of an event must use event accessor syntax
C# Compiler Error – CS0152 the switch statement contains multiple c
In this blog post, you’ll learn more about the C# Compiler Error – CS0152 and the related message description C# Compiler Error Code CS0152 C# Compiler Description for the Code :CS0152 The switch statement contains multiple cases with the label value ‘{0}’
C# Program – How to Calculate Age based on DateTime ?
In C#, you can calculate the age based on the datetime property by subtracting the number of years from today with the birthday year. We should also consider the Leap Year as needed. How to Calculate age based on DateTime of Birthday in C# ? Here’s a simple code snippet demonstrating how to do it. Output
C# Compiler Error – CS8322 cannot pass argument with dynamic type t
In this blog post, you’ll learn more about the C# Compiler Error – CS8322 and the related message description C# Compiler Error Code CS8322 C# Compiler Description for the Code :CS8322 Cannot pass argument with dynamic type to generic local function ‘{0}’ with inferred type arguments.
How to Group Digits of a Number for Formatting in C# ?
If you want to group the digits of a number for formatting to display in C# , one could use the “N” formatting option . Below is a code snippet demonstrating how to use it. How to Group Digits of a Number for Formatting in C# ?