Skip to content

Commit

Permalink
#27 접근제한자 public, private 예제
Browse files Browse the repository at this point in the history
  • Loading branch information
guddus326 committed Jul 1, 2021
1 parent 1ce7d02 commit e6f79ba
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CSBasic5/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ namespace CSBasic5
{
class Program
{
int someModifier = 0;
public int instanceVariable = 10;
public int instanceMethod()
{
Expand Down Expand Up @@ -48,6 +49,11 @@ public static int Abs(long a2)

class Test
{
public void TestMethod()
{
Program.Main(new string[] { "" });
}

// Method Signature
public int Sum(int min, int max)
{
Expand Down

0 comments on commit e6f79ba

Please sign in to comment.