Daily update on 20221229 by nitload youmu

This commit is contained in:
Nitload
2022-12-30 00:07:56 +08:00
parent 3dbf74d5a3
commit 6c1aec5d8f
35 changed files with 210 additions and 98 deletions
@@ -1,6 +1,7 @@
using OpenTK;
using StgSharp;
using StgSharp.Geometries;
using StgSharp.Logic;
using System;
using System.Collections.Generic;
using System.Data;
@@ -14,34 +15,19 @@ namespace Debug
{
public static void Main()
{
A a=new A();
OperationHandler operationHandler = new OperationHandler(cw);
for (int i = 0; i < 10; i++)
{
operationHandler.Invoke(i);
}
}
}
public class A
{
public static int a = 10;
public int b = 10;
}
static class b
{
public static void change(this A a, int b)
public static void cw(int x)
{
a.b = b;
Console.WriteLine(x);
}
public delegate void OperationHandler(int x);
}
static class c
{
public static void change(this A a, int b)
{
a.b = b++;
}
}
}