I have a snippet of LINQ code that I need to use in a lot of queries
let catchmentId = Convert.ToInt32( phy.PhysicalProperty_binData.Substring(offset + 3
let catchmentId = // Curry in invariant components. let newSubstr end = phy.PhysicalProperty_binData.Substring(offset + end, 1) Convert.ToInt32( newSubstr 3 + newSubstr 2 + newSubstr 1 + newSubstr 0)