C# Programming - Delegates - Discussion
Discussion Forum : Delegates - General Questions (Q.No. 5)
5.
Which of the following is the correct way to call the function MyFun() of the Sample class given below?
class Sample
{
public int MyFun(int i)
{
Console.WriteLine("Welcome to IndiaBIX.com !" );
return 0;
}
}
Discussion:
2 comments Page 1 of 1.
Anubhav singh said:
10 years ago
What is this "ref" doing here?
Aaron T said:
10 years ago
Remove 'ref'.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers