MCQs>IT & Programming>C#>What will be the result of running the following code : void Main() { Perform(Inp); } public string Inp(string s1, string s2) { return s1 + s2; } public void Perform(Func inp) { Console.WriteLine(inp('Hello', ',World')); }
C# MCQs
What will be the result of running the following code : void Main() { Perform(Inp); } public string Inp(string s1, string s2) { return s1 + s2; } public void Perform(Func inp) { Console.WriteLine(inp("Hello", ",World")); }
Answer
Correct Answer: Hello,World
Explanation:
Note: This Question is unanswered, help us to find answer for this one