Skip to content

Commit 6099d33

Browse files
committed
Lesson 6
1 parent bee5eae commit 6099d33

File tree

7 files changed

+127
-1
lines changed

7 files changed

+127
-1
lines changed

.gitignore

+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# These are some examples of commonly ignored file patterns.
2+
# You should customize this list as applicable to your project.
3+
# Learn more about .gitignore:
4+
# https://www.atlassian.com/git/tutorials/saving-changes/gitignore
5+
6+
# Node artifact files
7+
node_modules/
8+
dist/
9+
10+
# Compiled Java class files
11+
*.class
12+
13+
# Compiled Python bytecode
14+
*.py[cod]
15+
16+
# Log files
17+
*.log
18+
19+
# Package files
20+
*.jar
21+
22+
# Maven
23+
target/
24+
dist/
25+
26+
# JetBrains IDE
27+
.idea/
28+
29+
# Unit test reports
30+
TEST*.xml
31+
32+
# Generated by MacOS
33+
.DS_Store
34+
35+
# Generated by Windows
36+
Thumbs.db
37+
38+
# Applications
39+
*.app
40+
*.exe
41+
*.war
42+
43+
# Large media files
44+
*.mp4
45+
*.tiff
46+
*.avi
47+
*.flv
48+
*.mov
49+
*.wmv
50+
51+
bin/
52+
.vs/
53+
obj/

CSharpCourse_Homework.sln

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.9.34728.123
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Lesson_006_1", "Lesson_006_1\Lesson_006_1.csproj", "{9B7E8D6F-E474-400A-A142-A5740EDD8C53}"
7+
EndProject
8+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Lesson_006_2", "Lesson_006_2\Lesson_006_2.csproj", "{2AAF091F-6DCC-40B9-B542-2C32AAF51000}"
9+
EndProject
10+
Global
11+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
12+
Debug|Any CPU = Debug|Any CPU
13+
Release|Any CPU = Release|Any CPU
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{9B7E8D6F-E474-400A-A142-A5740EDD8C53}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
17+
{9B7E8D6F-E474-400A-A142-A5740EDD8C53}.Debug|Any CPU.Build.0 = Debug|Any CPU
18+
{9B7E8D6F-E474-400A-A142-A5740EDD8C53}.Release|Any CPU.ActiveCfg = Release|Any CPU
19+
{9B7E8D6F-E474-400A-A142-A5740EDD8C53}.Release|Any CPU.Build.0 = Release|Any CPU
20+
{2AAF091F-6DCC-40B9-B542-2C32AAF51000}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{2AAF091F-6DCC-40B9-B542-2C32AAF51000}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{2AAF091F-6DCC-40B9-B542-2C32AAF51000}.Release|Any CPU.ActiveCfg = Release|Any CPU
23+
{2AAF091F-6DCC-40B9-B542-2C32AAF51000}.Release|Any CPU.Build.0 = Release|Any CPU
24+
EndGlobalSection
25+
GlobalSection(SolutionProperties) = preSolution
26+
HideSolutionNode = FALSE
27+
EndGlobalSection
28+
GlobalSection(ExtensibilityGlobals) = postSolution
29+
SolutionGuid = {5A7C4786-3935-428F-9632-59E90536A28C}
30+
EndGlobalSection
31+
EndGlobal

Lesson_006_1/EntryPoint.cs

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/*
2+
1. Приложение не компилируется и не запускается. Исправьте ошибки.
3+
2. Нарушены некоторые конвенции именования. Исправьте наименования.
4+
3. Измените Default namespace на Lesson6, чтобы все последующие типы автоматически создавались в неймспейсе Lesson6.
5+
*/
6+
7+
namespace lesson6_1
8+
{
9+
internal class entryPoint
10+
{
11+
void run(string[] Args)
12+
{
13+
Console.WriteLine("Hello, my friend!");
14+
}
15+
}
16+
}

Lesson_006_1/Lesson_006_1.csproj

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net8.0</TargetFramework>
6+
<Nullable>enable</Nullable>
7+
</PropertyGroup>
8+
9+
</Project>

Lesson_006_2/Class1.cs

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// Превратите библиотеку классов в запускаемое консольное приложение.
2+
3+
namespace Lesson6_2
4+
{
5+
public class Class1
6+
{
7+
}
8+
}

Lesson_006_2/Lesson_006_2.csproj

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
</PropertyGroup>
8+
9+
</Project>

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# csharp-course-homework
1+
# The project with homework for the C# course

0 commit comments

Comments
 (0)