Shohibul Jalal

Shohibul Jalal

  • NA
  • 12
  • 4.3k

accessing variable inside if from outside if

Aug 10 2016 2:50 PM
int[] dalil_sani = {15, 57, 28, 7};<br /> if (dalil_sani[0] == 15)<br /> {<br /> int[] takdil_syams = {12, 35, 1};<br /> }<br /> else if (dalil_sani[0] == 20)<br /> {<br /> int[] takdil_syams = {32, 54, 6};<br /> }<br /> Console.WriteLine("I want to call it from Here ."); // I want to call takdil_syams from here..

Answers (2)