Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Is this right???

Posted on 2003-10-27
1
Medium Priority
?
253 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

618 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