Count function
-
Dear All, This is a c# code working fine in, Where files is a genric collection.
files.Count(f => f.Status == FileUploadStatus.Uploading || f.Status == FileUploadStatus.Resizing)
i convert the same in vb.net using some convertion tools, and i gotfiles.Count(Function(f) f.Status = FileUploadStatus.Uploading OrElse f.Status = FileUploadStatus.Resizing)
and its not working, got the error like ReadOnly Property Count() As Integer' has no parameters and its return type cannot be indexed. So plz help and let me know what is wrong i m doing here with possible solution. Thanks -
Dear All, This is a c# code working fine in, Where files is a genric collection.
files.Count(f => f.Status == FileUploadStatus.Uploading || f.Status == FileUploadStatus.Resizing)
i convert the same in vb.net using some convertion tools, and i gotfiles.Count(Function(f) f.Status = FileUploadStatus.Uploading OrElse f.Status = FileUploadStatus.Resizing)
and its not working, got the error like ReadOnly Property Count() As Integer' has no parameters and its return type cannot be indexed. So plz help and let me know what is wrong i m doing here with possible solution. Thanks