This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void Main(string[] args) | |
{ | |
var sInstance = new Structure(25); | |
sInstance.Change(35); | |
await sInstance.ChangeAsync(45); | |
} | |
public struct Structure | |
{ | |
private int value; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C# code: | |
IEnumerable NonGenericEmptyEnumerable() | |
{ | |
yield break; | |
} | |
IEnumerable<T> GenericEmptyEnumerable<T>() | |
{ | |
yield break; |
NewerOlder