Skip to content

Instantly share code, notes, and snippets.

@alextrofymenko
alextrofymenko / Program.cs
Created Jan 5, 2017
Casting to a class without using a transformer
View Program.cs
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 Jan 17, 2013
rock paper scissors game
View rps.py
class Player:
Name = None
Hand = None
def __init__(self, name):
self.Name = name
class Rock: pass
class Paper: pass
class Scissors: pass