Skip to content

Instantly share code, notes, and snippets.

@alextrofymenko
alextrofymenko / Program.cs
Created January 5, 2017 16:19
Casting to a class without using a transformer
using System;
using System.Collections.Generic;
using FluentNHibernate.Cfg;
using FluentNHibernate.Cfg.Db;
using FluentNHibernate.Mapping;
using NHibernate.Cfg;
using NHibernate.Dialect;
using NHibernate.Driver;
@alextrofymenko
alextrofymenko / rps.py
Created January 17, 2013 09:48
rock paper scissors game
class Player:
Name = None
Hand = None
def __init__(self, name):
self.Name = name
class Rock: pass
class Paper: pass
class Scissors: pass