Files
stgsharp/源代码/.Net/StgSharpDebug/Program.cs
T

54 lines
894 B
C#

using StgSharp;
using System;
internal class Program
{
private static void Main(string[] args)
{
Console.WriteLine("Hello, World!");
a asd = new a();
ase a01 = new ase(asd.cwc);
ase a02 = a01;
a01 -= asd.cwc;
a01 += asd.cwb;
a01.Invoke();
a02.Invoke();
a fff = new a();
fff._a = 10;
a ggg = fff;
fff._a = 15;
Console.WriteLine(ggg._a);
Point p = new Point();
Point p2 = new Point();
ContainerNode<Point> pC = new ContainerNode<Point>(p);
ContainerNode<Point> pC02 = new ContainerNode<Point>(p2);
pC.Next=pC02;
}
public delegate void ase();
}
class a
{
public int _a;
public void cwc()
{
Console.WriteLine("c");
}
public void cwb()
{
Console.WriteLine("b");
}
}