Skip to content

Commit 3374b9a

Browse files
committed
Prep article 2 for publishing
1 parent c48e702 commit 3374b9a

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

_data/learn-coding-with-dot-net-core-6.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"index": 1,
44
"enabled": true,
55
"title": "Creating your first .NET/C# program",
6-
"description": "In this article, we are creating a small console application using the .NET CLI to get started with .NET 5+ and C#.",
6+
"description": "In this article, we are creating a small console application using the .NET CLI to get started with .NET 6+ and C#.",
77
"previous-url": "/en/articles/2021/02/07/learn-coding-with-dot-net-core-part-1/",
88
"url": "/en/articles/2022/06/13/learn-coding-with-dot-net-6-part-1/"
99
},
1010
{
1111
"index": 2,
12-
"enabled": false,
12+
"enabled": true,
1313
"title": "Introduction to C# variables",
1414
"description": "In this article, we explore variables. What they are, how to create them, and how to use them. Variables are essential elements of a program, making it dynamic.",
1515
"previous-url": "/en/articles/2021/02/21/learn-coding-with-dot-net-core-part-2/",

_drafts/en/2022-06-14-learn-coding-with-dot-net-6-part-2.md renamed to _posts/en/2022/2022-06-14-learn-coding-with-dot-net-6-part-2.md

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: 'Introduction to C# variables'
33
subtitle: 'A beginner guide to programming with .NET 6 and C#'
4-
date: 2022-06-14 00:00:00 -0500
4+
date: 2022-06-14 00:00:00 -0400
55
post-img: '//cdn.forevolve.com/blog/images/articles-header/2021-learn-coding-with-dot-net-core.png'
66
unsplash-credit: Photo by Jefferson Santos on Unsplash
77
lang: en
@@ -178,7 +178,6 @@ Enough syntax and theory, let's try this out next.
178178
Let's reuse the program we built in the first article of the series, which looked like this:
179179

180180
```csharp
181-
using System;
182181
Console.WriteLine("Hello .NET Ninja!");
183182
```
184183

@@ -189,8 +188,6 @@ To prepare the program for more advanced use-cases, we want to extract the text
189188
To do so, based on what we just explored, we can write the following:
190189

191190
```csharp
192-
using System;
193-
194191
var greetings = "Hello .NET Ninja!";
195192
Console.WriteLine(greetings);
196193
```
@@ -282,8 +279,6 @@ Once you are done, you can compare with the following solution.
282279
{%- capture solutionContent -%}**Program.cs**
283280
284281
```csharp
285-
using System;
286-
287282
var spacer = "------------------";
288283
Console.WriteLine(spacer);
289284
Console.WriteLine("What is your name?");

0 commit comments

Comments
 (0)