Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between Count() and LongCount extension methods in LINQ?



What is the difference between Count() and LongCount extension methods in LINQ?..

Answer / Deepak Nigam

Both Count() and LongCount are extension methods that return the number of elements in a sequence, but they differ in the type of result. Count() returns an Int32, while LongCount returns a Long (Int64). This makes Count() suitable for sequences that can fit within an integer, and LongCount suitable for larger sequences.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More LINQ Language-Integrated Query Interview Questions

Explain what is linq?

1 Answers  


What is linq in xamarin?

1 Answers  


What is lambda expression in linq c#?

1 Answers  


What is linq in .net with example?

1 Answers  


What is the use of System.XML.XLinq..dll in LINQ?

1 Answers   UGC Corporation,


What is quantifiers in reference linq to dataset?

1 Answers  


Why is linq useful?

1 Answers  


Write a program using skip and take operators. How can it beneficial for bulky data accessing on page?

1 Answers  


What is linq placement?

1 Answers  


What are Quantifiers?

1 Answers  


Explain what is “LINQ to Objects”?

1 Answers  


What is where clause and let clause?

1 Answers  


Categories