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.

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…

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