Showing 341 - 360 of 682 results
C# Error CS0646 โ€“ Cannot specify the DefaultMember attribute on a type containing an indexer Reason for the Error &...
C# Compiler Error CS0185 โ€“ โ€˜typeโ€™ is not a reference type as required by the lock statement Reason for the...
C# Error CS8803 โ€“ Top-level statements must precede namespace and type declarations. Reason for the Error & Solution Top-level statements...
C# Compiler Error CS0264 โ€“ Partial declarations of โ€˜typeโ€™ must have the same type parameter names in the same order...
C# Compiler Error CS0531 โ€“ โ€˜memberโ€™ : interface members cannot have a definition Reason for the Error Youโ€™ll get this...
C# Error CS0854 โ€“ An expression tree may not contain a call or invocation that uses optional arguments Reason for...
C# Error CS0819 โ€“ Implicitly-typed variables cannot have multiple declarators Reason for the Error & Solution Implicitly-typed variables cannot have...
C# Error CS1503 โ€“ Argument {0}: cannot convert from โ€˜{1}โ€™ to โ€˜{2}โ€™ Reason for the Error & Solution Argument โ€˜numberโ€™...
C# Error CS0846 โ€“ A nested array initializer is expected Reason for the Error & Solution A nested array initializer...
C# Error CS1640 โ€“ foreach statement cannot operate on variables of type โ€˜{0}โ€™ because it implements multiple instantiations of โ€˜{1}โ€™;...
C# Error CS0841 โ€“ Cannot use local variable โ€˜{0}โ€™ before it is declared Reason for the Error & Solution Cannot...
C# Error CS0591 โ€“ Invalid value for argument to โ€˜{0}โ€™ attribute Reason for the Error & Solution Invalid value for...
C# Error CS0844 โ€“ Cannot use local variable โ€˜{0}โ€™ before it is declared. The declaration of the local variable hides...
C# Error CS8333 โ€“ Cannot return {0} โ€˜{1}โ€™ by writable reference because it is a readonly variable Reason for the...
Compiler Error CS0138 โ€“ A using namespace directive can only be applied to namespaces; โ€˜typeโ€™ is a type not a...
C# Error CS1576 โ€“ The line number specified for #line directive is missing or invalid Reason for the Error &...
C# Error CS4008 โ€“ Cannot await โ€˜voidโ€™ Reason for the Error & Solution Cannot await โ€˜voidโ€™ Example The following sample...
C# Compiler Error CS0159 โ€“ No such label โ€˜labelโ€™ within the scope of the goto statement Reason for the Error...
C# Error CS1996 โ€“ Cannot await in the body of a lock statement Reason for the Error & Solution Cannot...
C# Error CS8176 โ€“ Iterators cannot have by-reference locals Reason for the Error & Solution Iterators cannot have by-reference locals...