Vidyalelo
C# Programming · Q21

ASP.NET and Web Development with C Sharp

Programming · C# Programming · question 21

Q21

What is the purpose of the DataAnnotation attribute in ASP.NET MVC?

A.
To define routing rules
B.
To provide validation rules for model properties
Answer
C.
To create database connections
D.
None of the above

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board