Category: C#
C# Compiler Error – CS1906 invalid option ‘{0}’; resource visibilit
In this blog post, you’ll learn more about the C# Compiler Error – CS1906 and the related message description C# Compiler Error Code CS1906 C# Compiler Description for the Code :CS1906 Invalid option ‘{0}’; Resource visibility must be either ‘public’ or ‘private’
How to Launch the Cellular Settings App using URI Scheme in Windows Phone 8?
Below is a sample code snippet demonstrating how launch the Cellular Settings app via the URI Scheme and LaunchUriAsync method in Windows Phone using C#. How to Launch the Cellular Settings App using URI Scheme in Windows Phone 8?
C# Compiler Error – CS8314 an expression of type ‘{0}’ cannot be ha
In this blog post, you’ll learn more about the C# Compiler Error – CS8314 and the related message description C# Compiler Error Code CS8314 C# Compiler Description for the Code :CS8314 An expression of type ‘{0}’ cannot be handled by a pattern of type ‘{1}’ in C# {2}. Please use language version {3} or greater.
Example of Dictionary Initializer in C# 6.0
Below is a sample code snippet demonstrating the usage of Dictionary Initializer syntax in C# 6.0 Example of Dictionary Initializer in C# 6.0
C# Compiler Error – CS8756 function pointer ‘{0}’ does not take {1}
In this blog post, you’ll learn more about the C# Compiler Error – CS8756 and the related message description C# Compiler Error Code CS8756 C# Compiler Description for the Code :CS8756 Function pointer ‘{0}’ does not take {1} arguments
How to Get the Computer Name using VB.NET?
Below is a sample code snippet that demonstrates how to get the current computer name using VB.NET? How to Get the Computer Name using VB.NET?
C# Compiler Error – CS1576 the line number specified for #line dire
In this blog post, you’ll learn more about the C# Compiler Error – CS1576 and the related message description C# Compiler Error Code CS1576 C# Compiler Description for the Code :CS1576 The line number specified for #line directive is missing or invalid
C# Compiler Error – CS8104 an error occurred while writing the outp
In this blog post, you’ll learn more about the C# Compiler Error – CS8104 and the related message description C# Compiler Error Code CS8104 C# Compiler Description for the Code :CS8104 An error occurred while writing the output file: {0}.
C# Compiler Error – CS4032 the ‘await’ operator can only be used wi
In this blog post, you’ll learn more about the C# Compiler Error – CS4032 and the related message description C# Compiler Error Code CS4032 C# Compiler Description for the Code :CS4032 The ‘await’ operator can only be used within an async method. Consider marking this method with the ‘async’ modifier and changing its return type to ‘Task’.
C# Compiler Error – CS0225 the params parameter must be a single di
In this blog post, you’ll learn more about the C# Compiler Error – CS0225 and the related message description C# Compiler Error Code CS0225 C# Compiler Description for the Code :CS0225 The params parameter must be a single dimensional array
C# Compiler Error – CS1515 ‘in’ expected
In this blog post, you’ll learn more about the C# Compiler Error – CS1515 and the related message description C# Compiler Error Code CS1515 C# Compiler Description for the Code :CS1515 ‘in’ expected
How to Enable JavaScript in Windows Phone 8 WebBrowser Control?
If you are using the WebBrowser control in your Windows Phone project, there are times when you want to enable JavaScript in it to achieve various things. How to Enable JavaScript in Windows Phone 8 WebBrowser Control? This is pretty simple. The WebBrowser Control in Windows Phone SDK has a property IsScriptEnabled, Just set this property to true. <phone:WebBrowser x:Name=”BrowserControl1″ IsScriptEnabled=”True” /> You are done….