Configuration in MVC .NET

You created the given option class while doing configuration in MVC .NET.

public class PositionOptions 
{ 
 public const string Position = "Position"; 
 
 public string Title { get; set; } 
 public string Name { get; set; } 
}

In this context, which of these statements is TRUE?

Options
  1. While making this option class you ensured that all public read-write properties of the type are unbound.
  2. While making this option class you ensured that the class is abstract with a private parameterless constructor.
  3. While making this option class you ensured that the class is non-abstract with a public parameterless constructor.
  4. None of these
Previous PostNext Post

Related Posts

Close Bitnami banner
Bitnami