I\'m trying to use DataAnnotations in my WPF project to specify a maximum length of strings, with the following:
using System.ComponentModel.DataAnnotations;
If using .NET Core or .NET Standard
use:
Manage NuGet Packages..
instead of:
Add Reference...