Anonymous
public text v1 · immutablebyte[] aBytes = File.ReadAllBytes(filea);
byte[] bBytes = File.ReadAllBytes(fileb);
byte[] c = new byte[a.Length + b.Length];
aBytes.CopyTo(c, 0);
bBytes.CopyTo(c, a.Length);
File.WriteAllBytes(path, c);byte[] aBytes = File.ReadAllBytes(filea);
byte[] bBytes = File.ReadAllBytes(fileb);
byte[] c = new byte[a.Length + b.Length];
aBytes.CopyTo(c, 0);
bBytes.CopyTo(c, a.Length);
File.WriteAllBytes(path, c);