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 class Class1 | |
{ | |
public async Task Method1() | |
{ | |
await Task.Delay(100000); | |
Console.WriteLine($"Class1.Method1"); | |
} | |
public async Task Method2() | |
{ | |
await Task.Delay(200000); |
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 class Superior : ISuperior | |
{ | |
public string instanceId { get; set; } | |
public Superior() | |
{ | |
instanceId = GenerateRandomNumberBetweenNotAllocatedBefore(201 to 300); | |
} | |
public string SaySuperiorInstanceId() |