16 lines
330 B
C#
16 lines
330 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace CandyHouseContracts.Extensions;
|
|
|
|
public static class DateTimeExtensions
|
|
{
|
|
public static bool IsDateNotOlder(this DateTime date, DateTime olderDate)
|
|
{
|
|
return date >= olderDate;
|
|
}
|
|
}
|