Category: C#

How to Implement Style Inheritance in Windows Phone 8 ?

There are times when you want to apply some styles to a control in Windows Phone 8 but you may not want to start it from scratch . In these scenarios , the developers can use the property “BasedOn” to reference another style that is defined . For example , assume that there is already a style named “Style1” and for the Style2 you might…

C# Compiler Error – CS1761 embedding the interop type ‘{0}’ from as

In this blog post, you’ll learn more about the C# Compiler Error – CS1761 and the related message description C# Compiler Error Code CS1761 C# Compiler Description for the Code :CS1761 Embedding the interop type ‘{0}’ from assembly ‘{1}’ causes a name clash in the current assembly. Consider setting the ‘Embed Interop Types’ property to false.

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’.