An actor inside Service Fabric is defined by a standard .NET interface/class pair:
public interface IMyActor : IActor
{
Task<string> HelloWorld();
}
internal class MyActor : Actor, IMyActor
{
public Task<string> HelloWorld()
{
return Task.FromResult("...