Skip to content

Instantly share code, notes, and snippets.

@peterhoang
peterhoang / Program.cs
Created July 2, 2020 16:12 — forked from NMillard/Program.cs
If-Else vs Dynamic Type Discovery
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text.Json;
namespace DesignPatterns.DynamicStrategy {
class Program {
static void Main(string[] args) {
/*
package utils
{
import net.flashpunk.FP;
import entities.Player;
public class Camera
{
private var cameraSpeed:Number;
/**