Click here to Skip to main content
15,881,380 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to know who executed my application ? Pin
shabya10-Mar-09 12:21
shabya10-Mar-09 12:21 
GeneralRe: how to know who executed my application ? Pin
Dragonfly_Lee11-Mar-09 1:17
Dragonfly_Lee11-Mar-09 1:17 
Questionwhy is it not writing to screen the first line/value in the txt file this code? Pin
wwwxyz9-Mar-09 10:07
wwwxyz9-Mar-09 10:07 
AnswerRe: why is it not writing to screen the first line/value in the txt file this code? Pin
Rutvik Dave9-Mar-09 10:19
professionalRutvik Dave9-Mar-09 10:19 
GeneralRe: why is it not writing to screen the first line/value in the txt file this code? Pin
wwwxyz9-Mar-09 10:42
wwwxyz9-Mar-09 10:42 
GeneralRe: why is it not writing to screen the first line/value in the txt file this code? Pin
Rutvik Dave9-Mar-09 11:02
professionalRutvik Dave9-Mar-09 11:02 
GeneralRe: why is it not writing to screen the first line/value in the txt file this code? Pin
wwwxyz9-Mar-09 11:09
wwwxyz9-Mar-09 11:09 
GeneralRe: why is it not writing to screen the first line/value in the txt file this code? Pin
Guffa9-Mar-09 17:57
Guffa9-Mar-09 17:57 
Or simply:
using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;

class MainClass {
   public static void Main() {
      Console.WriteLine("Input file name to open!");
      Console.WriteLine("Sample: d:\\filename.txt");
      File.ReadAllLines(Console.ReadLine()).ToList().ForEach(Console.WriteLine);
   }
}

Wink | ;)

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: why is it not writing to screen the first line/value in the txt file this code? Pin
wwwxyz10-Mar-09 2:00
wwwxyz10-Mar-09 2:00 
Questionlabels on line graph. Pin
alexleigh9-Mar-09 9:22
alexleigh9-Mar-09 9:22 
AnswerRe: labels on line graph. Pin
Yusuf9-Mar-09 9:44
Yusuf9-Mar-09 9:44 
GeneralRe: labels on line graph. Pin
alexleigh9-Mar-09 10:19
alexleigh9-Mar-09 10:19 
QuestionUAC and iterating files (manifest) Pin
invictus39-Mar-09 8:45
invictus39-Mar-09 8:45 
AnswerRe: UAC and iterating files (manifest) Pin
Dave Kreskowiak9-Mar-09 9:11
mveDave Kreskowiak9-Mar-09 9:11 
GeneralRe: UAC and iterating files (manifest) Pin
Dan Neely9-Mar-09 9:13
Dan Neely9-Mar-09 9:13 
GeneralRe: UAC and iterating files (manifest) Pin
0x3c09-Mar-09 9:52
0x3c09-Mar-09 9:52 
AnswerRe: UAC and iterating files (manifest) Pin
Luc Pattyn9-Mar-09 9:55
sitebuilderLuc Pattyn9-Mar-09 9:55 
GeneralRe: UAC and iterating files (manifest) Pin
Dave Kreskowiak9-Mar-09 9:59
mveDave Kreskowiak9-Mar-09 9:59 
QuestionGlobal Event Handler? Pin
musefan9-Mar-09 7:49
musefan9-Mar-09 7:49 
AnswerRe: Global Event Handler? Pin
0x3c09-Mar-09 8:45
0x3c09-Mar-09 8:45 
AnswerRe: Global Event Handler? Pin
Dave Kreskowiak9-Mar-09 9:05
mveDave Kreskowiak9-Mar-09 9:05 
GeneralRe: Global Event Handler? Pin
musefan10-Mar-09 5:09
musefan10-Mar-09 5:09 
AnswerRe: Global Event Handler? Pin
Dragonfly_Lee9-Mar-09 19:55
Dragonfly_Lee9-Mar-09 19:55 
QuestionChange property´s value description Pin
Sci_fie9-Mar-09 7:40
Sci_fie9-Mar-09 7:40 
AnswerRe: Change property´s value description Pin
musefan9-Mar-09 7:53
musefan9-Mar-09 7:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.