.net helper classes