Solved

Is this right???

Posted on 2003-10-27
1
219 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 50 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Eagerly loading related objects in entity framework 5 29
C# Single Form 8 42
Graphics 2 28
VB.NET 2008 - SQL Timeout 9 24
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…
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
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

773 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