Which of the following is true about friend functions in C#?
Correct Answer: Friend functions are not available in C#.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
C# Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More C# MCQ Questions
Which of the following statements is true about the code below? string[] lines = theText.Split(new string[] { Environment.NewLine }, StringSplitOptions.None);
Consider the following code: string s1 = 'Old Value'; string s2 = s1; s1 = 'New Value'; Console.WriteLine(s2); What will be the output printed, and why?
What will be the output if in a WinForms application, the following code is executed in the Load event of a form? Assume this form has lblMessage as a Label Control. private void Form1_Load(object sender, EventArgs e) { try { ThreadPool.QueueUserWorkItem(ShowMessage,null); } catch (Exception ex) { } } private void ShowMessage(object obj) { try { lblMessage.Text = 'Hello from Thread Pool'; } catch (Exception ex) { } }
Where does a C# assembly store the information regarding the other external dependencies, such as satellite assemblies, global assemblies etc, and their versions so that they can be loaded correctly when the assembly is executed?
Which of the following will output the string below?
Which of the following statements are correct?
What will be the values of i, j and k after executing the following set of statements? int i, j, k; i = 4; j = 30; k = 0; k = j++ / i++;
Which of the following is/are true for events?
Which of the following language code is not 'managed' by default in .NET framework?
___________ namespace is not defined in the .NET class library.