No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I want to write a string named output to the console screen. How do i do that? string output= "hello world" How can I write the output to the screen? | |
I am writing this program which I create from the console screen. I want to change it so that I can read any file from the folder. For example: in this program, I am prompting the console for the two files and comparing them. Instead, I want to compare files … | |
The following program is giving an error: System.NullReferenceException Object Reference not set to an instance of an object. at IgnoreKwic.GetAllLinesForIndexWords<with parameters> at IgnoreKwic.BuildOutput<with parameters> at IgnoreKwic.Main<> In the line where I wrote that I want to display the output on the screen, would this work? using System.Collections.Generic;// Adds definition of … | |
when i run the program MyKwic sampleText(text file saved in the project) the compiler cannot trace the sampleText. using System; using System.Collections; using System.Linq; using System.Text; using System.IO; public class Mykwic { static void Main(string[] args) { if (args.Length == 0) { Console.WriteLine("Error: Missing file name"); return; } StreamReader reader … |