Last active
November 11, 2020 23:19
-
-
Save nanwang2016/aafc2cc0cd9f30bf22eef21644492499 to your computer and use it in GitHub Desktop.
Namespace in C# Fully Qualified Name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Greeting | |
{ | |
public class MorningGreet | |
{ | |
public void GoodMorning() | |
{ | |
Console.WriteLine($"Good Morning"); | |
} | |
} | |
} | |
public class TestNamespace | |
{ | |
public static void Main() | |
{ | |
Greeting.MorningGreet morning = new Greeting.MorningGreet(); | |
morning.GoodMorning; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment