Category: C#
C# Compiler Error – CS8384 tuple types used as operands of an == or
In this blog post, you’ll learn more about the C# Compiler Error – CS8384 and the related message description C# Compiler Error Code CS8384 C# Compiler Description for the Code :CS8384 Tuple types used as operands of an == or != operator must have matching cardinalities. But this operator has tuple types of cardinality {0} on the left and {1} on the right.
C# Compiler Error – CS0143 the type ‘{0}’ has no constructors defin
In this blog post, you’ll learn more about the C# Compiler Error – CS0143 and the related message description C# Compiler Error Code CS0143 C# Compiler Description for the Code :CS0143 The type ‘{0}’ has no constructors defined
Alternate Method to Navigate from Page in Windows Phone 8 using C#
The NavigationService.Navigate method i.e. generally used to navigate from one page to another page in Windows Phone 8 SDK. The NavigationService also exposes a property “Source” which can be used to Get/Set the URI of the page . By Setting this property, the Application Frame loads the specified page. Alternate Method to Navigate from Page in Windows Phone 8 using C# Below is a sample…
Ternary Operator Code Snippet in C#
Below is a sample source code demonstrating the ternary operator in c#
C# Compiler Warning – CS0164 this label has not been referenced
In this blog post, you’ll learn more about the C# Compiler Warning – CS0164 and the related message description C# Compiler Warning Code CS0164 C# Compiler Description for the Code :CS0164 This label has not been referenced
C# Compiler Error – CS8179 predefined type ‘{0}’ is not defined or
In this blog post, you’ll learn more about the C# Compiler Error – CS8179 and the related message description C# Compiler Error Code CS8179 C# Compiler Description for the Code :CS8179 Predefined type ‘{0}’ is not defined or imported
C# Compiler Warning – CS1711 xml comment has a typeparam tag for ‘{0}
In this blog post, you’ll learn more about the C# Compiler Warning – CS1711 and the related message description C# Compiler Warning Code CS1711 C# Compiler Description for the Code :CS1711 XML comment has a typeparam tag for ‘{0}’, but there is no type parameter by that name
C# Compiler Error – CS8025 feature ‘{0}’ is not available in c# 4.
In this blog post, you’ll learn more about the C# Compiler Error – CS8025 and the related message description C# Compiler Error Code CS8025 C# Compiler Description for the Code :CS8025 Feature ‘{0}’ is not available in C# 4. Please use language version {1} or greater.
Important Concepts of Object Oriented Programming in C#
OOPS (Object Oriented Programming) is extensively used in software development to solve many problems. Below are some of the important keywords / concepts of Object Oriented Programming in C# 1. Classes & Objects (Instances) 2. Data Abstraction 3. Encapsulation 4. Inheritance 5. Polymorphism 6. Message Passing etc.
C# Compiler Error – CS1016 named attribute argument expected
In this blog post, you’ll learn more about the C# Compiler Error – CS1016 and the related message description C# Compiler Error Code CS1016 C# Compiler Description for the Code :CS1016 Named attribute argument expected
Default Value of Row and Column attached properties in XAML
In the Windows Phone XAML page , when you place a control inside the grid column or row , you would have noticed that the sometimes the row and column value are not specified . This means that the row and column attached properties of the grid defaults to the value zero and hence its not mandatory to specify Grid.Column or Grid.Row to 0 when…
C# Compiler Error – CS1504 source file ‘{0}’ could not be opened —
In this blog post, you’ll learn more about the C# Compiler Error – CS1504 and the related message description C# Compiler Error Code CS1504 C# Compiler Description for the Code :CS1504 Source file ‘{0}’ could not be opened — {1}
C# Compiler Error – CS8026 feature ‘{0}’ is not available in c# 5.
In this blog post, you’ll learn more about the C# Compiler Error – CS8026 and the related message description C# Compiler Error Code CS8026 C# Compiler Description for the Code :CS8026 Feature ‘{0}’ is not available in C# 5. Please use language version {1} or greater.
C# Compiler Error – CS1012 too many characters in character literal
In this blog post, you’ll learn more about the C# Compiler Error – CS1012 and the related message description C# Compiler Error Code CS1012 C# Compiler Description for the Code :CS1012 Too many characters in character literal
C# Compiler Error – CS8422 a static local function cannot contain a
In this blog post, you’ll learn more about the C# Compiler Error – CS8422 and the related message description C# Compiler Error Code CS8422 C# Compiler Description for the Code :CS8422 A static local function cannot contain a reference to ‘this’ or ‘base’.
C# Compiler Error – CS1725 friend assembly reference ‘{0}’ is inval
In this blog post, you’ll learn more about the C# Compiler Error – CS1725 and the related message description C# Compiler Error Code CS1725 C# Compiler Description for the Code :CS1725 Friend assembly reference ‘{0}’ is invalid. InternalsVisibleTo declarations cannot have a version, culture, public key token, or processor architecture specified.
C# Compiler Error – CS0182 an attribute argument must be a constant
In this blog post, you’ll learn more about the C# Compiler Error – CS0182 and the related message description C# Compiler Error Code CS0182 C# Compiler Description for the Code :CS0182 An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type
C# Compiler Error – CS8417 ‘{0}’: type used in an asynchronous usin
In this blog post, you’ll learn more about the C# Compiler Error – CS8417 and the related message description C# Compiler Error Code CS8417 C# Compiler Description for the Code :CS8417 ‘{0}’: type used in an asynchronous using statement must be implicitly convertible to ‘System.IAsyncDisposable’ or implement a suitable ‘DisposeAsync’ method. Did you mean ‘using’ rather than ‘await using’?
C# Compiler Error – CS4015 ‘methodimploptions.synchronized’ cannot
In this blog post, you’ll learn more about the C# Compiler Error – CS4015 and the related message description C# Compiler Error Code CS4015 C# Compiler Description for the Code :CS4015 ‘MethodImplOptions.Synchronized’ cannot be applied to an async method
C# Compiler Warning – CS8621 nullability of reference types in return
In this blog post, you’ll learn more about the C# Compiler Warning – CS8621 and the related message description C# Compiler Warning Code CS8621 C# Compiler Description for the Code :CS8621 Nullability of reference types in return type of ‘{0}’ doesn’t match the target delegate ‘{1}’ (possibly because of nullability attributes).