using System;
public class Test
{
public static void Main()
{
var y = new Test();
y.CloseSalesDokument(1, 1);
int x =1;
var array = new int[0];
y.CloseSalesDokument(x, x, ref array, ref x, ref x);
}
public void CloseSalesDokument(int documentId, int closeMode)
{
}
public void CloseSalesDokument(int documentId, int mode, ref int[] gid, ref int trn_GIDNumer, ref int Trn_GIDTyp)
{
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJCXZhciB5ID0gbmV3IFRlc3QoKTsKCQl5LkNsb3NlU2FsZXNEb2t1bWVudCgxLCAxKTsKCQlpbnQgeCA9MTsKCQl2YXIgYXJyYXkgPSBuZXcgaW50WzBdOwoJCXkuQ2xvc2VTYWxlc0Rva3VtZW50KHgsIHgsIHJlZiBhcnJheSwgcmVmIHgsIHJlZiB4KTsKCX0KCQoJIHB1YmxpYyB2b2lkIENsb3NlU2FsZXNEb2t1bWVudChpbnQgZG9jdW1lbnRJZCwgaW50IGNsb3NlTW9kZSkKICAgIHsKICAgIH0KICAgICAgICAKICAgIHB1YmxpYyB2b2lkIENsb3NlU2FsZXNEb2t1bWVudChpbnQgZG9jdW1lbnRJZCwgaW50IG1vZGUsIHJlZiBpbnRbXSBnaWQsIHJlZiBpbnQgdHJuX0dJRE51bWVyLCByZWYgaW50IFRybl9HSURUeXApCiAgICB7CiAgICB9Cn0=