Click here to Skip to main content
15,890,670 members
Articles / Programming Languages / C# 4.0

how to return list using C#

Rate me:
Please Sign up or sign in to vote.
1.00/5 (2 votes)
6 Nov 2012CPOL 5.8K  
hello here my code public List getall(){ return db.banks.ToString();}and i m getting error likeCannot implicitly convert type 'string' to 'System.Collections.Generic.Listplease help me ...?

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Comments and Discussions