64 720
Assignments Done
99,4%
Successfully Done
In September 2018

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

Submit
Privacy policy Terms and Conditions