Answers for "attribute decorator to require email format of string c#"

C#
0

attribute decorator to require email format of string c#

using System.ComponentModel.DataAnnotations;

[EmailAddress(ErrorMessage = "Invalid Email Address")]
public string Email { get; set; }
Posted by: Guest on January-12-2021

C# Answers by Framework

Browse Popular Code Answers by Language