Latest articles and tutorials
Data Annotations vs FluentValidation: Which should you use?
Get started with Data Annotations and FluentValidation in ASP.NET Core with validation examples for your .NET project like required and email validation.What are partial classes in C# and why do we use them?
Find out what partial classes are in C#, examples of how to use them, the rules that we need to follow and why we use them.EF Core migration features that you might not know about
Invaluable Entity Framework Core migration features such as Entity Type Configuration, Seed Data, Value Converters and running a SQL command.Try our C# online code editor
Convert hours, minutes and seconds into a time formatted string
Pass in the hours, minutes and seconds into a method and get it to return a time formatted string which should include leading zeros.
Contains online code editor
Work out the number of days between two dates
Write a C# function to work out the difference between two dates and return the number of days in this coding challenge.
Contains online code editor
Removing the last character from a string
This coding challenge involves writing a C# method that will removing the last character from a string and returning the value.
Contains online code editor
Write a C# function to convert MPH to KPH
Take our coding challenge to write a C# function with the necessary parameters that converts miles-per-hour (MPH) to kilometres-per-hour (KPH) and vice-versa.
Contains online code editor