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

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -