Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…11de-8b28-e1b452efc53a
  • Loading branch information...
commit bd4f6d7d848d5101a33fb518533050fe96378d73 1 parent 0e7dfef
authored June 06, 2009

Showing 1 changed file with 5 additions and 1 deletion. Show diff stats Hide diff stats

  1. 6  demos/demo/Program.cs
6  demos/demo/Program.cs
... ...
@@ -1,4 +1,5 @@
1 1
 using System;
  2
+using System.IO;
2 3
 using CookComputing;
3 4
 
4 5
 class Program
@@ -17,6 +18,9 @@ static void Main(string[] args)
17 18
 
18 19
   public static void Run(string filename, bool verbose = false)
19 20
   {
20  
-    Console.WriteLine("filename: {0}  verbose: {1}", filename, verbose);
  21
+    string s = File.ReadAllText(filename);
  22
+    if (verbose)
  23
+      Console.WriteLine("Processing {0} bytes...", s.Length);
  24
+    Console.WriteLine(s.ToUpper());
21 25
   }
22 26
 }

0 notes on commit bd4f6d7

Please sign in to comment.
Something went wrong with that request. Please try again.