From 0fe9842fcca55c5dd942a2e08dfc5d520b85ef1e Mon Sep 17 00:00:00 2001 From: qinjie <qinjie@163.com> Date: 星期五, 24 十一月 2023 14:40:42 +0800 Subject: [PATCH] 提交代码 --- Test/Program.cs | 17 +---------------- 1 files changed, 1 insertions(+), 16 deletions(-) diff --git a/Test/Program.cs b/Test/Program.cs index e212c94..286c73b 100644 --- a/Test/Program.cs +++ b/Test/Program.cs @@ -17,7 +17,7 @@ const string revitInpPath = "d:\\t2.inp"; static void Main(string[] args) { - Test5(); + Test4(); } static void Test1() @@ -151,12 +151,6 @@ Console.ReadLine(); } - static void Test5() - { - var p = new Child() { Name = "P1" }; - var c = (Parent)p; - Console.WriteLine("a"); - } static void TestRevit1() { @@ -256,13 +250,4 @@ } } - internal class Parent - { - public virtual string Name { get; set; } - } - - internal class Child:Parent - { - public override string Name { get; set; } - } } -- Gitblit v1.9.3