One of my favorite programming languages, D, has two operators to easily contract or append to arrays (all types of arrays, not just "char[]", as in the example below):
I want to know if C# has some operator or function that can do either of these.Code:// contract char[] array1 = "Hello, "; char[] array2 = "world!"; char[] array3 = array1 ~ array2; // append char[] array4 = "Hey, "; array4 ~= array2;