Permalink
Browse files

git-svn-id: http://noptfunc.googlecode.com/svn/trunk@9 e87c7552-528c-…

…11de-8b28-e1b452efc53a
  • Loading branch information...
1 parent 0e7dfef commit bd4f6d7d848d5101a33fb518533050fe96378d73 ChasCook committed Jun 6, 2009
Showing with 5 additions and 1 deletion.
  1. +5 −1 demos/demo/Program.cs
View
6 demos/demo/Program.cs
@@ -1,4 +1,5 @@
using System;
+using System.IO;
using CookComputing;
class Program
@@ -17,6 +18,9 @@ static void Main(string[] args)
public static void Run(string filename, bool verbose = false)
{
- Console.WriteLine("filename: {0} verbose: {1}", filename, verbose);
+ string s = File.ReadAllText(filename);
+ if (verbose)
+ Console.WriteLine("Processing {0} bytes...", s.Length);
+ Console.WriteLine(s.ToUpper());
}
}

0 comments on commit bd4f6d7

Please sign in to comment.