שהרצתי את הקוד הזה ב-visual studio 2012 אני מקבל שגיאה.
אפשר בבקשה תיקון?תודה.
קוד:using System;using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication11 { class Program { static void Main(string[] args) { int x; //not initialized MyMethod(out x); //x now is 10 void MyMethod (out int i) i=10; } } }



ציטוט ההודעה

