Skip to content

Instantly share code, notes, and snippets.

@htbkoo
Last active July 15, 2022 09:22
Show Gist options
  • Select an option

  • Save htbkoo/eb0e93160926ef2fd990600b4c3098c5 to your computer and use it in GitHub Desktop.

Select an option

Save htbkoo/eb0e93160926ef2fd990600b4c3098c5 to your computer and use it in GitHub Desktop.
Some temporary workspace
using System;
using System.Collections.Generic;
namespace SomeNamespace
{
enum OperationType
{
}
interface IOperator
{
int operate();
}
class OperatorA implements IOperator
{
int operate() {
}
}
class MainClass
{
Dictionary<OperationType, IOperator> operatorsMapping = new Dictionary<OperationType, IOperator>();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment