Category: C#
C# Compiler Warning – CS1718 comparison made to same variable; did yo
In this blog post, you’ll learn more about the C# Compiler Warning – CS1718 and the related message description C# Compiler Warning Code CS1718 C# Compiler Description for the Code :CS1718 Comparison made to same variable; did you mean to compare something else?
C# Compiler Error – CS7055 unmanaged type ‘{0}’ is only valid for f
In this blog post, you’ll learn more about the C# Compiler Error – CS7055 and the related message description C# Compiler Error Code CS7055 C# Compiler Description for the Code :CS7055 Unmanaged type ‘{0}’ is only valid for fields.
List of Tags used for XML Documentation Comments in C#
Following are the list of Tags that can be used for XML Documentation of your C# Sourcecode. 1. <c> – This is used to specify the description given within the <c> tag to be marked as code . 2. <code> – Indicate multiple lines of the description to be marked as code. 3. <example> – specifies an example for the code 4. <exception> – specifies…
C# Compiler Error – CS0264 partial declarations of ‘{0}’ must have
In this blog post, you’ll learn more about the C# Compiler Error – CS0264 and the related message description C# Compiler Error Code CS0264 C# Compiler Description for the Code :CS0264 Partial declarations of ‘{0}’ must have the same type parameter names in the same order
WP8 Error – Cannot clear the icon while in a list Parameter name: value
When using the ApplicationBar in the Windows Phone Application and dynamically setting the IconButtons from code behind , I encounter this error . Cannot clear the icon while in a list Parameter name: value The cause of the error and the fix is pretty straight forward . I was setting the IconUri of the ApplicationBarIcon button programmatically and the value of the IconUri was not…
How to Convert a List to ObservableCollection in C#?
This simple blog post will explain how to convert a List of Object to ObservableCollection of Object in C# and Windows Phone 8. There are times when you want to convert a List of Object to ObservableCollection specially when binding an ObservableCollection to the LongListSelector etc. The reasons for this can be several. How to Convert a List to ObservableCollection in C#? To Convert a…
C# Compiler Error – CS0595 invalid real literal.
In this blog post, you’ll learn more about the C# Compiler Error – CS0595 and the related message description C# Compiler Error Code CS0595 C# Compiler Description for the Code :CS0595 Invalid real literal.
C# Compiler Error – CS8937 at least one top-level statement must be
In this blog post, you’ll learn more about the C# Compiler Error – CS8937 and the related message description C# Compiler Error Code CS8937 C# Compiler Description for the Code :CS8937 At least one top-level statement must be non-empty.
How to repeat a string N number of times in C# ?
Do you want to repeat a string N number of times in C# ? . You can use the string.concat and Enumerable.Repeat to achieve it in .NET Framework 4.0 and higher. How to repeat a string N number of times in C# ?
LINQ to Objects Query against a Collection of Objects
Below is a sample code snippet that demonstrates how to use the LINQ Query to query against the LINQ to Objects. LINQ to Objects Query against a Collection of Objects
C# Compiler Warning – CS8387 type parameter ‘{0}’ has the same name a
In this blog post, you’ll learn more about the C# Compiler Warning – CS8387 and the related message description C# Compiler Warning Code CS8387 C# Compiler Description for the Code :CS8387 Type parameter ‘{0}’ has the same name as the type parameter from outer method ‘{1}’
Creating Nullable Struct in C#
Below is a sample sourecode demonstrates creating Nullable Struct in C#.
C# Compiler Error – CS8088 a format specifier may not contain trail
In this blog post, you’ll learn more about the C# Compiler Error – CS8088 and the related message description C# Compiler Error Code CS8088 C# Compiler Description for the Code :CS8088 A format specifier may not contain trailing whitespace.
C# Compiler Error – CS8380 ‘{0}’: cannot specify both a constraint
In this blog post, you’ll learn more about the C# Compiler Error – CS8380 and the related message description C# Compiler Error Code CS8380 C# Compiler Description for the Code :CS8380 ‘{0}’: cannot specify both a constraint class and the ‘unmanaged’ constraint
C# Compiler Error – CS0112 a static member cannot be marked as ‘{0}
In this blog post, you’ll learn more about the C# Compiler Error – CS0112 and the related message description C# Compiler Error Code CS0112 C# Compiler Description for the Code :CS0112 A static member cannot be marked as ‘{0}’
C# Compiler Error – CS1661 cannot convert {0} to type ‘{1}’ because
In this blog post, you’ll learn more about the C# Compiler Error – CS1661 and the related message description C# Compiler Error Code CS1661 C# Compiler Description for the Code :CS1661 Cannot convert {0} to type ‘{1}’ because the parameter types do not match the delegate parameter types
iOS frameworks for developing 2D Games
Are you an iOS developer and searching for the frameworks for developing 2D games for iPhone? In this article, we list out some of the iOS frameworks that can be used for developing 2d games. IOS frameworks for developing 2D Games Cocos2d Sparrow Unity3D cocos2d-iphone If you are working on any of the frameworks and wish to include them, then add them in the comments…
C# Compiler Warning – CS8850 the assembly ‘{0}’ containing type ‘{1}’
In this blog post, you’ll learn more about the C# Compiler Warning – CS8850 and the related message description C# Compiler Warning Code CS8850 C# Compiler Description for the Code :CS8850 The assembly ‘{0}’ containing type ‘{1}’ references .NET Framework, which is not supported.
C# Compiler Error – CS8641 ‘else’ cannot start a statement.
In this blog post, you’ll learn more about the C# Compiler Error – CS8641 and the related message description C# Compiler Error Code CS8641 C# Compiler Description for the Code :CS8641 ‘else’ cannot start a statement.
C# Compiler Error – CS7061 duplicate ‘{0}’ attribute in ‘{1}’
In this blog post, you’ll learn more about the C# Compiler Error – CS7061 and the related message description C# Compiler Error Code CS7061 C# Compiler Description for the Code :CS7061 Duplicate ‘{0}’ attribute in ‘{1}’