52
1
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Text;
5
using System.Threading;
6
7
8
public class Program
9
{
10
public static void Main(string[] args)
11
{
12
A a = new A();
13
B b = new B();
14
15
Console.WriteLine("A.ble = \"" + a.GetPropValue("ble")+"\"");
16
Console.WriteLine("B.test = \"" + b.GetPropValue("test")+"\"");
17
//Thread.Sleep(5000);
18
}
19
}
20
21
22
class A
23
{
24
public object GetPropValue(string propName)
Cached Result