Process File Data using C# List and Linq

Offered By
Coursera Project Network
In this Guided Project, you will:

Add a static C# method to parse CSV data into an Object.

Use the C# sort method to order and output the list of Objects.

Use C# Linq methods to output statistics about the CSV data.

Clock2 hours
BeginnerBeginner
CloudNo download needed
VideoSplit-screen video
Comment DotsEnglish
LaptopDesktop only

By the end of this project you will create an application that uses the C# List data structure and the C# Linq to process a collection of Employees in a file. Linq, when used with the List data structure, allows the programmer to compare and perform computations on objects without the need to access attributes directly. It simplifies the process of iterating through a list and obtaining data from user-defined objects. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Skills you will develop

C# JoinC# File IOC# ListC# InterfaceC# Linq

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. Create the C# Class to represent the File data.

  2. Add a static C# method to parse CSV data into an Object.

  3. Create a method to Sort User-defined Objects.

  4. Use the C# sort method to order and output the list of Objects.

  5. Use C# Linq methods to output statistics about the CSV data.

How Guided Projects work

Your workspace is a cloud desktop right in your browser, no download required

In a split-screen video, your instructor guides you step-by-step

Frequently asked questions

Frequently Asked Questions

More questions? Visit the Learner Help Center.