Customer Validation Strategy
Listing 4: CustomerValidationStrategy.cs
public class CustomerValidationStrategy : IPersonValidationStrategy
public bool IsValid(Person person)
bool valid = false;
if (person.FirstName != null && person.LastName != null && person.DateOfBirth < DateTime.Now.AddYears(13))
valid = true;
About the Author
Eric Vogel is a Senior Software Developer for Red Cedar Solutions Group in Okemos, Michigan. He is the president of the Greater Lansing User Group for .NET. Eric enjoys learning about software architecture and craftsmanship, and is always looking for ways to create more robust and testable applications. Contact him at [email protected].
Microsoft, apparently trying to enhance every product it has with an AI-powered Copilot, announced a new one for the latest release of SQL Server Developer Tools (SSDT) in Visual Studio.
"As opposed to traditional deep learning (DL) model training, On-Device Training requires efficient use of compute and memory resources."
With Visual Studio v17.6 becoming generally available recently, Microsoft provided a peek at what's coming up in the next iteration, VS 2022 v17.7
Dev team shows how Welcome revamp was first presented and then how it was shaped by community feedback.
> More Webcasts