From 7ba83ca233b31eb5435e4f4fe55dd528c055695a Mon Sep 17 00:00:00 2001 From: "exercism-solutions-syncer[bot]" <211797793+exercism-solutions-syncer[bot]@users.noreply.github.com> Date: Sun, 10 May 2026 14:24:04 +0000 Subject: [PATCH] [Sync Iteration] csharp/leap/3 --- solutions/csharp/leap/3/Leap.cs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 solutions/csharp/leap/3/Leap.cs diff --git a/solutions/csharp/leap/3/Leap.cs b/solutions/csharp/leap/3/Leap.cs new file mode 100644 index 0000000..c1bb794 --- /dev/null +++ b/solutions/csharp/leap/3/Leap.cs @@ -0,0 +1,7 @@ +public static class Leap +{ + public static bool IsLeapYear(int year) + { + return ((year % 400 == 0 || year % 4 == 0 && year % 100 != 0)); + } +} \ No newline at end of file