Methods and events in C#

You can define C# methods in a NetLogic.