Thread Rating:
- 1 Vote(s) - 1 Average
- 1
- 2
- 3
- 4
- 5
[HELP] C# Homework 2. LearnVisualStudio [HELP]
|
Posts: 202
Threads: 7
Joined: Sep 2010
Reputation:
6
10-28-2010, 12:45 AM
(This post was last modified: 10-28-2010, 06:43 PM by -paradox-.)
Code: using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
namespace Homework_Day_2
{
class Program
{
static void Main(string[] args)
{
StreamReader myReader = new StreamReader("DecodeThis.txt");
string line = "";
while (line != null)
{
line = myReader.ReadLine();
if (line != null)
{
char[] charArray = line.ToCharArray();
Array.Reverse(charArray);
Console.WriteLine(charArray);
}
}
Console.ReadLine();
}
}
}
Well I got this part of it. Thanks for replying by the way, I really appreciate it. I have a feeling I'll need a lot of help in the future as well. I'm going to go through lesson two and hopefully figure this out first try next time. I'll implement the making a new .txt the next time around.
-Polite-Active-Respectful-Atheist-Donator-Obliging-xerox?-
Are you trolling me? I don't care. Your thread may help someone that was too embarrassed to ask.
|
Messages In This Thread |
RE: [HELP] C# Homework 2. LearnVisualStudio [HELP] - by -paradox- - 10-28-2010, 12:45 AM
|
Users browsing this thread: 1 Guest(s)