1

En Iyi Tarafı C# IEnumerable Nerelerde Kullanılıyor

thomasr246twy2
If Your class is a custom collection class then yes, it should implement IEnumerable. In this case a public property for the inner list would be redundant. Imagine a simple class: Örneğin oluşturduğumuz bir List içine biz Add komutu ile ekleme yapabiliyoruz yahut Count ile içerisinde mevcut elemanların sayısını alabiliyoruz https://alicej554ync0.sunderwiki.com/user

Comments

    HTML is allowed

Who Upvoted this Story