using System; public class bigobject { private int x; public bigobject(int y) { x = y; } public int getx() { return x; } public void addobj(bigobject that) { this.x += that.x; that.x += 1; } } // compile with csc /t:library /out:bigobject.dll bigobject.cs