Skip to content

[15기 김혜원] Git 세션 과제 제출 #25

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: 15-khw
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions MyCSharpProjects/.vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"compilerPath": "C:\\msys64\\ucrt64\\bin\\gcc.exe",
"cStandard": "c17",
"cppStandard": "gnu++17",
"intelliSenseMode": "windows-gcc-x64"
}
],
"version": 4
}
3 changes: 3 additions & 0 deletions MyCSharpProjects/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"dotnet.defaultSolution": "Classes_M1.sln"
}
31 changes: 31 additions & 0 deletions MyCSharpProjects/Classes_M1/BankCustomer.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

using System;

namespace Classes_M1;

public class BankCustomer
{
// add public fields for FirstName, LastName, and CustomerId
public string FirstName = "Tim";
public string LastName = "Shao";
public string CustomerId = "1010101010";

public BankCustomer()
{

}

public BankCustomer(string firstName, string lastName)
{
FirstName = firstName;
LastName = lastName;

}

public BankCustomer(string firstName, string lastName, string customerIdNumber)
{
FirstName = firstName;
LastName = lastName;
CustomerId = customerIdNumber;
}
}
22 changes: 22 additions & 0 deletions MyCSharpProjects/Classes_M1/Program.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@

using Classes_M1;

namespace Classes_M1;

string firstName = "Tim";
string lastName = "Shao";
string customerIdNumber = "1010101010";

BankCustomer customer1 = new BankCustomer();

firstName = "Lisa";
BankCustomer customer2 = new BankCustomer(firstName, lastName);

firstName = "Sandy";
lastName = "Zoeng";
customerIdNumber = "2020202020";
BankCustomer customer3 = new BankCustomer(firstName, lastName, customerIdNumber);

Console.WriteLine($"BankCustomer 1: {customer1.FirstName} {customer1.LastName} {customer1.CustomerId}");
Console.WriteLine($"BankCustomer 2: {customer2.FirstName} {customer2.LastName} {customer2.CustomerId}");
Console.WriteLine($"BankCustomer 3: {customer3.FirstName} {customer3.LastName} {customer3.CustomerId}");
23 changes: 23 additions & 0 deletions MyCSharpProjects/Classes_M1/bin/Debug/net9.0/Classes_M1.deps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v9.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v9.0": {
"Classes_M1/1.0.0": {
"runtime": {
"Classes_M1.dll": {}
}
}
}
},
"libraries": {
"Classes_M1/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"runtimeOptions": {
"tfm": "net9.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "9.0.0"
},
"configProperties": {
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
{
"format": 1,
"restore": {
"D:\\KING.Csharp\\Csharp-MSlearn\\MyCSharpProjects\\Classes_M1\\Classes_M1.csproj": {}
},
"projects": {
"D:\\KING.Csharp\\Csharp-MSlearn\\MyCSharpProjects\\Classes_M1\\Classes_M1.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\KING.Csharp\\Csharp-MSlearn\\MyCSharpProjects\\Classes_M1\\Classes_M1.csproj",
"projectName": "Classes_M1",
"projectPath": "D:\\KING.Csharp\\Csharp-MSlearn\\MyCSharpProjects\\Classes_M1\\Classes_M1.csproj",
"packagesPath": "C:\\Users\\nyeom\\.nuget\\packages\\",
"outputPath": "D:\\KING.Csharp\\Csharp-MSlearn\\MyCSharpProjects\\Classes_M1\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\nyeom\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net9.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "9.0.200"
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.202/PortableRuntimeIdentifierGraph.json"
}
}
}
}
}
16 changes: 16 additions & 0 deletions MyCSharpProjects/Classes_M1/obj/Classes_M1.csproj.nuget.g.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\nyeom\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.13.1</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\nyeom\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")]
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using System;
using System.Reflection;

[assembly: System.Reflection.AssemblyCompanyAttribute("Classes_M1")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Classes_M1")]
[assembly: System.Reflection.AssemblyTitleAttribute("Classes_M1")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

// Generated by the MSBuild WriteCodeFragment class.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
4a86da061d9a2cf4b78bcb843fa4d4b53866f279f60792ce6d20e4ce93a4d955
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
is_global = true
build_property.TargetFramework = net9.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Classes_M1
build_property.ProjectDir = D:\KING.Csharp\Csharp-MSlearn\MyCSharpProjects\Classes_M1\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.EffectiveAnalysisLevelStyle = 9.0
build_property.EnableCodeStyleSeverity =
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
287879322801404c74fc52a9603bc7ba40f5edebcdf52eb17975bd8fa7987197
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
D:\KING.Csharp\Csharp-MSlearn\MyCSharpProjects\Classes_M1\bin\Debug\net9.0\Classes_M1.exe
D:\KING.Csharp\Csharp-MSlearn\MyCSharpProjects\Classes_M1\bin\Debug\net9.0\Classes_M1.deps.json
D:\KING.Csharp\Csharp-MSlearn\MyCSharpProjects\Classes_M1\bin\Debug\net9.0\Classes_M1.runtimeconfig.json
D:\KING.Csharp\Csharp-MSlearn\MyCSharpProjects\Classes_M1\bin\Debug\net9.0\Classes_M1.dll
D:\KING.Csharp\Csharp-MSlearn\MyCSharpProjects\Classes_M1\bin\Debug\net9.0\Classes_M1.pdb
D:\KING.Csharp\Csharp-MSlearn\MyCSharpProjects\Classes_M1\obj\Debug\net9.0\Classes_M1.GeneratedMSBuildEditorConfig.editorconfig
D:\KING.Csharp\Csharp-MSlearn\MyCSharpProjects\Classes_M1\obj\Debug\net9.0\Classes_M1.AssemblyInfoInputs.cache
D:\KING.Csharp\Csharp-MSlearn\MyCSharpProjects\Classes_M1\obj\Debug\net9.0\Classes_M1.AssemblyInfo.cs
D:\KING.Csharp\Csharp-MSlearn\MyCSharpProjects\Classes_M1\obj\Debug\net9.0\Classes_M1.csproj.CoreCompileInputs.cache
D:\KING.Csharp\Csharp-MSlearn\MyCSharpProjects\Classes_M1\obj\Debug\net9.0\Classes_M1.dll
D:\KING.Csharp\Csharp-MSlearn\MyCSharpProjects\Classes_M1\obj\Debug\net9.0\refint\Classes_M1.dll
D:\KING.Csharp\Csharp-MSlearn\MyCSharpProjects\Classes_M1\obj\Debug\net9.0\Classes_M1.pdb
D:\KING.Csharp\Csharp-MSlearn\MyCSharpProjects\Classes_M1\obj\Debug\net9.0\Classes_M1.genruntimeconfig.cache
D:\KING.Csharp\Csharp-MSlearn\MyCSharpProjects\Classes_M1\obj\Debug\net9.0\ref\Classes_M1.dll
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
e41ba7aa34d378214c8a4076cd9ae34ee712aacdeb8b697e16602cdc1daa22f4
79 changes: 79 additions & 0 deletions MyCSharpProjects/Classes_M1/obj/project.assets.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"version": 3,
"targets": {
"net9.0": {}
},
"libraries": {},
"projectFileDependencyGroups": {
"net9.0": []
},
"packageFolders": {
"C:\\Users\\nyeom\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\KING.Csharp\\Csharp-MSlearn\\MyCSharpProjects\\Classes_M1\\Classes_M1.csproj",
"projectName": "Classes_M1",
"projectPath": "D:\\KING.Csharp\\Csharp-MSlearn\\MyCSharpProjects\\Classes_M1\\Classes_M1.csproj",
"packagesPath": "C:\\Users\\nyeom\\.nuget\\packages\\",
"outputPath": "D:\\KING.Csharp\\Csharp-MSlearn\\MyCSharpProjects\\Classes_M1\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\nyeom\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net9.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "9.0.200"
},
"frameworks": {
"net9.0": {
"targetAlias": "net9.0",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.202/PortableRuntimeIdentifierGraph.json"
}
}
}
}
8 changes: 8 additions & 0 deletions MyCSharpProjects/Classes_M1/obj/project.nuget.cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"version": 2,
"dgSpecHash": "tZjofwJhZSo=",
"success": true,
"projectFilePath": "D:\\KING.Csharp\\Csharp-MSlearn\\MyCSharpProjects\\Classes_M1\\Classes_M1.csproj",
"expectedPackageFiles": [],
"logs": []
}
Binary file added gitSession.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.