?
Solved

Is this right???

Posted on 2003-10-27
1
Medium Priority
?
249 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
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
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses
Course of the Month11 days, 4 hours left to enroll

770 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