Which statement is correct about following set of code ? int[, ]a={{5, 4, 3},{9, 2, 6}};
What will the given code snippet specify?class MyClass{ char chrs = 'A' ; public IEnumerator GetEnumerator() { for (int i = 20; i >=0; --i) if (i == 10) yield break; yield return (char)((chrs + i)); }}class Program{ static void Main(string[] args) { MyClass mc = new MyClass(); foreach (char ch in mc) Console.Write(ch + " "); Console.WriteLine(); Console.ReadLine(); }}
Select output of the given set of Code static void Main(string[] args){ String name = "Dr.Gupta"; Console.WriteLine("Good Morning" + name);}
The host for ASP.NET Core web application is configured in _________ file
A ___________ performs invisible tasks even if you write no code
What will be output of the following conversion ?static void Main(string[] args) { char a = 'A'; string b = "a"; Console.WriteLine(Convert.ToInt32(a)); Console.WriteLine(Convert.ToInt32(Convert.Tochar(b))); Console.ReadLine(); }
What does the given code set specifies?public static int Compare(string strA, string strB)