using System;
public class Test
{
public static void Main()
{
// طباعة رسالة ترحيبية
Console.WriteLine("مرحباً بالعالم!");
// جمع عددين وعرض النتيجة
int number1 = 10;
int number2 = 20;
int sum = number1 + number2;
Console.WriteLine("مجموع العددين " + number1 + " و " + number2 + " هو: " + sum);
// مثال على حلقة تكرارية
Console.WriteLine("الأعداد من 1 إلى 5:");
for (int i = 1; i <= 5; i++)
{
Console.WriteLine(i);
}
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewogICAgcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQogICAgewogICAgICAgIC8vINi32KjYp9i52Kkg2LHYs9in2YTYqSDYqtix2K3Zitio2YrYqQogICAgICAgIENvbnNvbGUuV3JpdGVMaW5lKCLZhdix2K3YqNin2Ysg2KjYp9mE2LnYp9mE2YUhIik7CgogICAgICAgIC8vINis2YXYuSDYudiv2K/ZitmGINmI2LnYsdi2INin2YTZhtiq2YrYrNipCiAgICAgICAgaW50IG51bWJlcjEgPSAxMDsKICAgICAgICBpbnQgbnVtYmVyMiA9IDIwOwogICAgICAgIGludCBzdW0gPSBudW1iZXIxICsgbnVtYmVyMjsKCiAgICAgICAgQ29uc29sZS5Xcml0ZUxpbmUoItmF2KzZhdmI2Lkg2KfZhNi52K/Yr9mK2YYgIiArIG51bWJlcjEgKyAiINmIICIgKyBudW1iZXIyICsgIiDZh9mIOiAiICsgc3VtKTsKCiAgICAgICAgLy8g2YXYq9in2YQg2LnZhNmJINit2YTZgtipINiq2YPYsdin2LHZitipCiAgICAgICAgQ29uc29sZS5Xcml0ZUxpbmUoItin2YTYo9i52K/Yp9ivINmF2YYgMSDYpdmE2YkgNToiKTsKICAgICAgICBmb3IgKGludCBpID0gMTsgaSA8PSA1OyBpKyspCiAgICAgICAgewogICAgICAgICAgICBDb25zb2xlLldyaXRlTGluZShpKTsKICAgICAgICB9CiAgICB9Cn0=