Skip to content

Miscellaneous

IT Notes → C# @ December 22, 2020

  • foreach statement is a consumer of an enumerator, an iterator is a producer of an enumerator.
  • yield and yield break.
  • int? i = null; //? Allows null
  • Extension methods allow an existing type to be extended with new methods.
  • Instance method has precedence over extension method.
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x