1.

What will be the output of the given code snippet below? { delegate void A(ref string str); class sample { public static void fun( ref string a) { a = a.Substring( 7, a.Length - 7); } } class Program { static void Main(string[] args) { A str1; string str = "Test Your C#.net skills"; str1 = sample.fun; str1(ref str); Console.WriteLine(str); } } }

A. Test Your
B. Ur C#.NET
C. Ur C#.NET Skills
D. None of the mentioned
Answer» D. None of the mentioned


Discussion

No Comment Found