48 lines
687 B
C#
48 lines
687 B
C#
using OpenTK;
|
|
using StgSharp;
|
|
using StgSharp.Geometries;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Debug
|
|
{
|
|
internal class Program
|
|
{
|
|
public static void Main()
|
|
{
|
|
A a=new A();
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
public class A
|
|
{
|
|
public static int a = 10;
|
|
public int b = 10;
|
|
}
|
|
|
|
static class b
|
|
{
|
|
public static void change(this A a, int b)
|
|
{
|
|
a.b = b;
|
|
}
|
|
}
|
|
|
|
static class c
|
|
{
|
|
public static void change(this A a, int b)
|
|
{
|
|
a.b = b++;
|
|
}
|
|
}
|
|
|
|
|
|
}
|