Setting up the classes and settings

The first thing I want to do is create a class that will store my settings. For this, perform the following steps:

  1. Create a folder called Classes and, in this folder, create a class called CoreTwitterSettings. Then, add a second class called TweetItem to the Classes folder (we will be using this class later). While you are at it, create another folder called csswhich we will be using in a minute.
  2. When you have done this, your project will look as follows:
  1. Open the CoreTwitterSettings class and add the following code to it:
public class CoreTwitterConfiguration { public string ApplicationName { get; ...

Get C# 7 and .NET Core 2.0 Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.