Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for NetMageā
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #290120 | Initial revision | — | about 1 year ago |
Answer | — |
A: Find the name of the student with the top mark, display their name and mark Normally you should use a CSV library to read CSV, but assuming your data is simple, a `Split` should be adequate. Using the `File.ReadLines()` method allows you to read the file as an `IEnumerable` which you can then process with LINQ: ``` var ans = File.ReadLines("TestData.csv") ... (more) |
— | about 1 year ago |