Answer to Question #16305 in C# for Anisha Gopal

Question #16305
What is the output of this C# code? delegate void d(int i); class P { public static void Main() { td(new d(ff)); } public static void td (d sf) { sf(-9); sf(22); } public static void ff (int i) { System.Console.Write("{0} ", -(i-2)); } }
Expert's answer
the output of this C# code are 11 and -20

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS
paypal