Examples of csharp(c#) with Source code
Examples of c sharp(c#) with SOURCE CODE
Sunday, 22 August 2010
source code using for each loop and(integer) using command line argument
using System;
class AddParams
{
static void Main(string[] args)
{
int sum = 0;
foreach(string str in args)
sum += int.Parse(str);
Console.WriteLine(sum);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment