Bir İnceleme C# IEnumerator nerelerde kullanılıyor
technically C# does derece allow functions to be outside of a class, however you could debate that static methods of a static class are functions and not methods. This is a good explanation here: stackoverflow.com/a/155655/2146952We kişi exploit ‘side effects‘ of the iteration to create more exotic control structures, like Unity’s coroutines