Tuesday 15 November 2016

System.Array' does not contain a definition for 'Count' and no extension method 'Count' accepting a first argument of type 'System.Array' could be found (are you missing a using directive or an assembly reference?

System.Array' does not contain a definition for 'Count' and no extension method 'Count' accepting a first argument of type 'System.Array' could be found (are you missing a using directive or an assembly reference?

This error we got many times at runt time.
We need to add namespace for this


Soulution

using System.Linq;


This error may be like these:
System.Array does not contain a definition for 'Count'
system.array does not contain a definition for skip
'system.array' does not contain a definition for 'add'
c# system array does not contain a definition for where
'system.array' does not contain a definition for 'split'
system array does not contain a definition for length
'system.array' does not contain a definition for 'contains'
string does not contain a definition for length

No comments:

Post a Comment



Asp.net tutorials