¡@

Home 

c# Programming Glossary: ix

ASCIIEncoding In Windows Phone 7

http://stackoverflow.com/questions/4022281/asciiencoding-in-windows-phone-7

string s byte retval new byte s.Length for int ix 0 ix s.Length ix char ch s ix if ch 0x7f retval ix byte ch.. string s byte retval new byte s.Length for int ix 0 ix s.Length ix char ch s ix if ch 0x7f retval ix byte ch else.. s byte retval new byte s.Length for int ix 0 ix s.Length ix char ch s ix if ch 0x7f retval ix byte ch else retval ix byte..

Selectively coloring text in RichTextBox

http://stackoverflow.com/questions/455713/selectively-coloring-text-in-richtextbox

color int pos box.SelectionStart string s box.Text for int ix 0 int jx s.IndexOf phrase ix StringComparison.CurrentCultureIgnoreCase.. string s box.Text for int ix 0 int jx s.IndexOf phrase ix StringComparison.CurrentCultureIgnoreCase if jx 0 break box.SelectionStart.. box.SelectionLength phrase.Length box.SelectionColor color ix jx 1 box.SelectionStart pos box.SelectionLength 0 ... private..

How to parse a text file in C# and be io bound?

http://stackoverflow.com/questions/7153315/how-to-parse-a-text-file-in-c-sharp-and-be-io-bound

data FileMode.Open byte buf new byte 200 1024 1024 fixed byte pBuf buf 0 uint dwRead 0 if ReadFile stream.SafeFileHandle.. new char 10 1000 1000 int readChars 0 int startIdx 0 fixed char ln buffer while readChars reader.Read buffer startIdx.. data string line double d 0 long a 0 b 0 int ix 0 while line reader.ReadLine null int len line.Length fixed..

How do I create a C# app that decides itself whether to show as a console or windowed app?

http://stackoverflow.com/questions/807998/how-do-i-create-a-c-sharp-app-that-decides-itself-whether-to-show-as-a-console-o

Command line 0 Environment.CommandLine for int ix 0 ix args.Length ix Console.WriteLine Argument 0 1 ix 1 args.. Command line 0 Environment.CommandLine for int ix 0 ix args.Length ix Console.WriteLine Argument 0 1 ix 1 args ix Console.ReadLine.. line 0 Environment.CommandLine for int ix 0 ix args.Length ix Console.WriteLine Argument 0 1 ix 1 args ix Console.ReadLine..