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;