초기 커밋.

This commit is contained in:
2025-03-05 10:21:10 +09:00
parent 3471914e64
commit 15885a2286
55 changed files with 1716 additions and 0 deletions
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>
+24
View File
@@ -0,0 +1,24 @@
internal class Program
{
private static void Main(string[] args)
{
var mycls = new MyClass();
mycls.Name = "철수";
mycls.Run(100);
//mycls._id = 100; //에러
//mycls.Execute() //에러
}
internal class MyClass
{
private int _id = 0;
public string Name { get; set; }
public void Run(int id) { }
protected void Execute() { }
}
}