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.
Subscribe
Login
0 Comments