using System; public class Test { public static void Main() { int x =3; int y =4; int a; Console.WriteLine("Test:Vertauschen sie den Inhalt zweier Variablen und Dokumentieren Sie") a = x; Console.WriteLine("1.Zwischenspeicherung"); x = y;//y auf x übertragen Console.WriteLine("2.x ist jetzt y"); y = a;//x auf y übertragten Console.WriteLine("x ist jetzt:"); Console.WriteLine(x); Console.WriteLine("y ist jetz:"); Console.WriteLine(y); } }