statement-for-statement translation to c-sharp from java files.