This commit is contained in:
PastSaid
2024-12-05 15:39:19 +08:00
parent 5472714e30
commit 9725ab5376
128 changed files with 46381 additions and 69 deletions

View File

@@ -0,0 +1,36 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace UnitTestProject3
{
[TestClass]
public class UnitTest2
{
[TestMethod]
public void TestMethod1()
{
var a = new B();
a.Foo();
}
public class A
{
public virtual void Foo()
{
return;
}
}
public class B : A
{
public override void Foo()
{
//return;
}
}
}
}