[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Is this right???

Posted on 2003-10-27
1
Medium Priority
?
254 Views
Last Modified: 2010-04-16
I got this from a tutorial at: http://www.csharp-station.com/Tutorials/Lesson01.pdf

// Namespace Declaration
using System;

// Program start class
class NamedWelcome
{
     // Main begins program execution.
     public static void Main(string[] args)
     {
     // Write to console
     Console.WriteLine("Hello, {0}!", args[0]);
     Console.WriteLine("Welcome to the C# Station Tutorial!");
     }
}

It's not working!  Did the author leave something out?
0
Comment
Question by:chilled2003
1 Comment
 
LVL 10

Accepted Solution

by:
smegghead earned 200 total points
ID: 9629614
in what way is it not working ??

are you passing in a command line argument ?? as this is what it will display on the screen.

i.e.

NamedWelcom.exe Fred

Smg.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
High user turnover can cause old/redundant user data to consume valuable space. UserResourceCleanup was developed to address this by automatically deleting user folders when the user account is deleted.
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question