Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Treehouse

C# Streams and Data Processing Course (How To)

via Treehouse

Overview

Learn how to read, write, and process data using streams in C#, and get the basics of file system operations. We'll also learn about serialization with JSON using Json.NET, and how to send web requests from our application.

What you'll learn

  • File I/O
  • Streams
  • Serialization
  • Making Web Requests

Syllabus

Reading Data

Learn all about reading text files from your computer.

Chevron 10 steps
  • What is I/O?

    2:13

  • Working with Files

    5:53

  • Working with Files

    3 questions

  • Console I/O

    8:12

  • Console I/O

    2 objectives

  • Encoding

    7:11

  • Encoding

    2 objectives

  • Reading a CSV File

    3:33

  • Breaking It Up Into Lines

    5:48

  • Review

    5 questions

Parsing Data

Learn how to parse information stored as strings into dates, integers, and floating-point types.

Chevron 14 steps
  • Reading Line By Line

    6:43

  • Reading Line By Line

    3 questions

  • Working with DateTime

    6:35

  • Working with DateTime

    3 objectives

  • Reference Types Versus Value Types

    5:46

  • Reference Types Versus Value Types

    5 questions

  • Working with Enums

    3:57

  • Working with Enums

    3 objectives

  • Working with Integers

    6:27

  • Working with Integers

    2 objectives

  • Working with Floating-Point Types

    3:45

  • Working with Floating-Point Types

    2 objectives

  • Calculate a Statistic

    4:42

  • Review

    5 questions

Serialization

Learn how to use Json.NET to serialize objects into JSON.

Chevron 11 steps
  • Introduction to Serialization

    2:02

  • Intro to Serialization

    3 questions

  • Soccer Player Data

    3:40

  • Using Json.NET

    3:29

  • Deserializing with Json.NET

    4:44

  • Deserializing with Json.NET

    4 objectives

  • Cleaning up the Player Class

    5:00

  • Cleaning up the Player Class

    3 objectives

  • Top Ten Scorers

    8:54

  • Serializing to a File

    4:27

  • Serializing to a File

    4 objectives

Streaming Data on the Net

Learn how to send and receive serialized data with the WebClient class.

Chevron 10 steps
  • Introduction

    0:56

  • WebClient

    5:42

  • WebClient

    4 objectives

  • Searching for News Headlines

    7:11

  • Become Zen

    2 objectives

  • Deserialize the News Results

    7:02

  • Deserialize the News Results

    3 questions

  • Text Analytics API Part 1

    10:37

  • Text Analytics API Part 2

    8:42

  • Review

    5 questions

Reviews

Start your review of C# Streams and Data Processing Course (How To)

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.