some code resharps