c# - Write to a txt file right to left -


I want to write a message in Hebrew in a text file. I tried the following:

 using  (StreamWriter sw = File.CreateText (path + FileName)) {sw.WriteLine (sms); }   

However, the message goes from left to right, how can I write to the left?

A string is an array so that you

  four [] tempArray = Sms.ToCharArray () Array.Reverse (tempArray) sms = new string (tempArray)   

When you type, this array should be reversed, it will be read right from left to right.

Comments

Popular posts from this blog

c# - passing input text from view to contoller with FacebookContext using Facebook app -

ios - Does Core Data autoupdate a many to many relationship on saving -

Calling a C++ function from C# by passing a string with variable size to it -