From 15525f6b9a432701aab290dcbad7ae6cb5b53276 Mon Sep 17 00:00:00 2001 From: Olivia Appleton Date: Thu, 29 Aug 2024 19:32:11 -0500 Subject: [PATCH] fix typo --- csharp/Euler/include/prime.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csharp/Euler/include/prime.cs b/csharp/Euler/include/prime.cs index 190289ca..1859bbcb 100644 --- a/csharp/Euler/include/prime.cs +++ b/csharp/Euler/include/prime.cs @@ -125,7 +125,7 @@ public static long isComposite(long n) { var factors = PrimeFactors(n).GetEnumerator(); factors.MoveNext(); - long first = factors.current; + long first = factors.Current; if (first == n) return 0; return first;