Question Locked

c sharp char array

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,
Ive been given an exercise to carry out using c#. I basically have to take a string of data (either typed or from a .txt file) and run it through ROT13 encryption process.

I understand the ROT13 process well enough, but dont understand the char array etc. (turning strings of data into arrays)

could any one out there please help me with this?

Thanks in advance

2 replies

by tony hopkinson

will do that.

or you could just subscript it

for(int i=0;i<=mystring.Length();i++)

or better still, especially for a file use a stream class.

This discussion is closed to new replies.