Click here to Skip to main content
15,912,578 members
Please Sign up or sign in to vote.
1.50/5 (2 votes)
See more:
I have list of cs file available in one folder.
I want to get the list for class name, method name and line count of the method available in each cs file.

Please help me.
Posted
Comments
Prerak Patel 21-Sep-11 1:22am    
Any efforts?

1 solution

Then you are going to have to parse the files, and extract the information.
This is not trivial: You have to process the file fairly carefully to ensure that when you encounter a '{' or '}' it is part of a statement, and not a character or string definition, or comment.
 
Share this answer
 
Comments
senthil sennu 21-Sep-11 2:24am    
Thnaks. True, but do you have any sample or reference link to get the List

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900