添加Lesson21
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
namespace Lesson21_面向对象相关_命名空间练习
|
||||
{
|
||||
namespace UI
|
||||
{
|
||||
class Image
|
||||
{
|
||||
}
|
||||
}
|
||||
namespace Graph
|
||||
{
|
||||
class Image
|
||||
{
|
||||
}
|
||||
}
|
||||
internal class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("Hello, World!");
|
||||
UI.Image img1 = new UI.Image();
|
||||
Graph.Image img2 = new Graph.Image();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user