You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using Samples.Calculate;
|
|
|
|
|
using Samples.DI;
|
|
|
|
|
using Samples.Event;
|
|
|
|
|
using Samples.MessagePrinter;
|
|
|
|
|
using Samples.StringLength;
|
|
|
|
|
|
|
|
|
|
namespace ConsoleApp;
|
|
|
|
|
class Program
|
|
|
|
|
{
|
|
|
|
|
static void Main(string[] args)
|
|
|
|
|
{
|
|
|
|
|
#region Delegate
|
|
|
|
|
|
|
|
|
|
// CalculateSample.Sample();
|
|
|
|
|
// MessagePrinterSample.Sample();
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region Callback
|
|
|
|
|
|
|
|
|
|
// StringLengthSample.Sample();
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region Event
|
|
|
|
|
|
|
|
|
|
// EventSample.Sample();
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#region Dependency Injection
|
|
|
|
|
|
|
|
|
|
DISample.Sample();
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|