Skip to main content

Posts

Showing posts with the label Upwork .Net Framework 4.0 Skills Test Answers

Upwork Knowledge of .Net Framework 4.0 Skills Test

1. Which of the following statements is correct for ASP.NET MVC Routing in .Net Framework 4.0? Answers:   • It is used to match the incoming requests and to map them to a controller action. 2. Consider the following code snippet: namespace ExtensionMethods { public static class NumericExtensionMethods {   public static bool IsNumeric(this string s)   {     float output;     return float.TryParse(s, out output);   } } } After adding the namespace, how will you call the ExtensionMethod on the string if your string variable is defined as: string test="4"; Answers:   • test.IsNumeric(); 3. What is the purpose of the System.Windows.Data namespace in .Net framework 4.0? Answers:   • It contains classes used for binding properties to data sources, data source provider classes, and data-specific implementations of collections and views. 4. Suppose you want to eliminate duplicate elements from the array int[] source ...