calculatestring csharpdotnet solution