Category: C#
Navigate from One Page to Another in Windows Phone 8 using NavigationService
When developing a WP8, you may encounter a scenario where you need to navigate from one page to another within your application. The PhoneApplicationPage’s class has the property NavigationService which can be used to navigate from one page to another. The NavigationService exposes the Navigate method which loads the specified windows phone application page . Navigate from One Page to Another in Windows Phone 8…
C# Compiler Error – CS0502 ‘{0}’ cannot be both abstract and sealed
In this blog post, you’ll learn more about the C# Compiler Error – CS0502 and the related message description C# Compiler Error Code CS0502 C# Compiler Description for the Code :CS0502 ‘{0}’ cannot be both abstract and sealed
C# Compiler Error – CS8177 async methods cannot have by-reference l
In this blog post, you’ll learn more about the C# Compiler Error – CS8177 and the related message description C# Compiler Error Code CS8177 C# Compiler Description for the Code :CS8177 Async methods cannot have by-reference locals
C# Compiler Error – CS0075 to cast a negative value, you must enclo
In this blog post, you’ll learn more about the C# Compiler Error – CS0075 and the related message description C# Compiler Error Code CS0075 C# Compiler Description for the Code :CS0075 To cast a negative value, you must enclose the value in parentheses.
C# Compiler Error – CS8092 expression or declaration statement expe
In this blog post, you’ll learn more about the C# Compiler Error – CS8092 and the related message description C# Compiler Error Code CS8092 C# Compiler Description for the Code :CS8092 Expression or declaration statement expected.
How to Get the List of Appointments from the Calendar App in Windows Phone using C# ?
If you want to programmatically get the list of appointments from the calendar application of your Windows Phone device programmatically , you can use the Microsoft.Phone.UserData.Appointments. How to Get the List of Appointments from the Calender App in Windows Phone using C# ? Enable the ID_CAP_APPOINTMENTS in the WMAppManifest file and then create an instance of the Appointments class and call the SearchAsync method with…
C# Compiler Error – CS0405 duplicate constraint ‘{0}’ for type para
In this blog post, you’ll learn more about the C# Compiler Error – CS0405 and the related message description C# Compiler Error Code CS0405 C# Compiler Description for the Code :CS0405 Duplicate constraint ‘{0}’ for type parameter ‘{1}’
C# Compiler Warning – CS7035 the specified version string does not co
In this blog post, you’ll learn more about the C# Compiler Warning – CS7035 and the related message description C# Compiler Warning Code CS7035 C# Compiler Description for the Code :CS7035 The specified version string does not conform to the recommended format – major.minor.build.revision
How to Concatenate Strings in C# using LINQ?
Assume that you have an array/List of string which needs to be concatenated. One can concatenate strings using + operator, StringBuilder etc. . . . How about concatenating strings using LINQ? Below is a sample source code that demonstrates how to concatenate strings in C# using LINQ? How to Concatenate Strings in C# using LINQ?
C# Compiler Error – CS1922 cannot initialize type ‘{0}’ with a coll
In this blog post, you’ll learn more about the C# Compiler Error – CS1922 and the related message description C# Compiler Error Code CS1922 C# Compiler Description for the Code :CS1922 Cannot initialize type ‘{0}’ with a collection initializer because it does not implement ‘System.Collections.IEnumerable’
C# Compiler Error – CS1965 ‘{0}’: cannot derive from the dynamic ty
In this blog post, you’ll learn more about the C# Compiler Error – CS1965 and the related message description C# Compiler Error Code CS1965 C# Compiler Description for the Code :CS1965 ‘{0}’: cannot derive from the dynamic type
C# Compiler Error – CS7102 compilation options ‘{0}’ and ‘{1}’ can’
In this blog post, you’ll learn more about the C# Compiler Error – CS7102 and the related message description C# Compiler Error Code CS7102 C# Compiler Description for the Code :CS7102 Compilation options ‘{0}’ and ‘{1}’ can’t both be specified at the same time.