Vinod Sebastian – B.Tech, M.Com, PGCBM, PGCPM, PGDBIO

Hi I'm a Web Architect by Profession and an Artist by nature. I love empowering People, aligning to Processes and delivering Projects.

Advertisements




Miscellaneous

Categories

C#

IT Notes

Tags

C#

Programming World

Content

  • The foreach statement is a consumer of an enumerator, while an iterator is a producer of an enumerator.

  • yield and yield break are keywords used in C# to create iterators.

  • int? i = null; The ? allows the variable i to be assigned a null value in C#.

  • Extension methods in C# allow an existing type to be extended with new methods without altering its original structure.

  • In C#, an instance method takes precedence over an extension method if both exist with the same signature.

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x