Category: C#
C# Compiler Error – CS1509 the referenced file ‘{0}’ is not an asse
In this blog post, you’ll learn more about the C# Compiler Error – CS1509 and the related message description C# Compiler Error Code CS1509 C# Compiler Description for the Code :CS1509 The referenced file ‘{0}’ is not an assembly
How to Create ApplicationBar in Windows Phone using XAML ?
In one of the previous articles , we discussed how to create ApplicationBar programmatically during runtime using C# . This article will demonstrate how to create ApplicationBar using XAML. How to Create ApplicationBar in Windows Phone using XAML ? Below is a sample XAML code snippet which creates an ApplicationBar with one Menu Item and two ApplicationBarIconButton <phone:PhoneApplicationPage.ApplicationBar> <shell:ApplicationBar> <shell:ApplicationBar.MenuItems> <shell:ApplicationBarMenuItem IsEnabled=”True” Text=”ABundantCode”/> </shell:ApplicationBar.MenuItems> <shell:ApplicationBarIconButton…
C# Compiler Error – CS1615 argument {0} may not be passed with the
In this blog post, you’ll learn more about the C# Compiler Error – CS1615 and the related message description C# Compiler Error Code CS1615 C# Compiler Description for the Code :CS1615 Argument {0} may not be passed with the ‘{1}’ keyword
C# Compiler Error – CS8017 the parameter has multiple distinct defa
In this blog post, you’ll learn more about the C# Compiler Error – CS8017 and the related message description C# Compiler Error Code CS8017 C# Compiler Description for the Code :CS8017 The parameter has multiple distinct default values.
How to Get the Dictionary Key by value in C# ?
If you want to get the Key of a dictionary based on the value in C# , you can use the LINQ’s where clause o FirstOrDefault method. How to Get the Dictionary Key by value in C# ?
C# Compiler Error – CS0575 only class types can contain destructors
In this blog post, you’ll learn more about the C# Compiler Error – CS0575 and the related message description C# Compiler Error Code CS0575 C# Compiler Description for the Code :CS0575 Only class types can contain destructors
C# Compiler Error – CS1969 one or more types required to compile a
In this blog post, you’ll learn more about the C# Compiler Error – CS1969 and the related message description C# Compiler Error Code CS1969 C# Compiler Description for the Code :CS1969 One or more types required to compile a dynamic expression cannot be found. Are you missing a reference?
C# Compiler Error – CS1680 invalid reference alias option: ‘{0}=’ —
In this blog post, you’ll learn more about the C# Compiler Error – CS1680 and the related message description C# Compiler Error Code CS1680 C# Compiler Description for the Code :CS1680 Invalid reference alias option: ‘{0}=’ — missing filename
Application States in Windows Phone 8
The Windows Phone 8 supports 2 different types of Application states Transient Persistent The transient state is stored at the application level and is discarded when the application is terminated. The developers can utilize the PhoneApplicationService.State and PhoneApplicationPage.State to store the transient state data. The Persistent State is generally saved to the isolated storage and is available when the application launches.
C# Compiler Error – CS1736 default parameter value for ‘{0}’ must b
In this blog post, you’ll learn more about the C# Compiler Error – CS1736 and the related message description C# Compiler Error Code CS1736 C# Compiler Description for the Code :CS1736 Default parameter value for ‘{0}’ must be a compile-time constant
C# Compiler Error – CS1756 interop type ‘{0}’ cannot be embedded be
In this blog post, you’ll learn more about the C# Compiler Error – CS1756 and the related message description C# Compiler Error Code CS1756 C# Compiler Description for the Code :CS1756 Interop type ‘{0}’ cannot be embedded because it is missing the required ‘{1}’ attribute.
How to Connect PC to internet through Windows Phone’s device internet?
There are times when you want to connect your laptop / PC to internet via the Phone’s internet connection (GPRS/3G/4G). This may be needed especially when you are travelling a lot. You can use the internet connection of your Windows Phone 8(HTC Windows Phone 8X) to connect on your PC. How to Connect PC to internet through Windows Phone’s device internet? Launch the Settings App…