public class Foo { public string Id = "5"; } public class Bar { public int Id; } // setup map.. // convert var foo = new Foo(); var bar = Mapper.Map<Foo, Bar>(); // => bar = 5;