I have to Write a program (in C#) to count (in LOC) the • total program size • total size of each of the program’s parts (classes, functions, or procedures) • the number of items (or methods) in each part.
Produce and print • a single count for the entire program • size and item counts for each part together with the part name
But I really don't know how to do it.
Any idea?