How can you code to display “This is XAML” in XAML?
Correct Answer: c) Page xmlns= "" ""> <TextBlock> This is XAML </TextBlock> </Page>
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 are ways of ensuring that a user enters an integer value in a WinForms application?
Which of the following is the correct way to calculate 'Age' from date of birth? Example : DateTime bday= DateTime((1990, 10, 3));
Which of the following statements are true about the following C#.Net code? String s1, s2; s1 = 'UpWork'; s2 = 'UpWork';
Which of the following code snippets returns the type of T, based on the code below? List< T > myList = new List< T >;
What will be the output of the following Main program in a C# console application (Assume required namespaces are included): static void Main(string[] args) { string s = null + true; Console.WriteLine(s); Console.ReadLine(); }
What will be the result of the following code: float f = 1.5; Console.WriteLine(f);
abstract class BaseClass { public abstract Color Color { get { return Color.Red; } } } sealed class Blues: BaseClass { public override Color Color { get { return Color.Blue; } } } BaseClass test = new Blues(); What is the result of test.Color ?
In C# simple types like int, char and bool are aliases for predefined classes in the System namespace.
What is the expected output? static void Main() { object o = -10.3f; int i = (int)o; Console.WriteLine(i); }
Which one of the following classes are present System.Collections.Generic namespace? 1) Stack 2) Tree 3) SortedDictionary 4) SortedArray