[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: NullReferenceException
- From: "Joe Shaw" <joe ximian com>
- To: stephan hegel gmx de
- Cc: dashboard-hackers gnome org
- Subject: Re: NullReferenceException
- Date: Wed, 28 Mar 2007 16:48:06 -0400
Joe Shaw wrote:
> I've attached a little test program for this.
Sorry, no attachment in your e-mail.
Oops. Sorry. Attached.
Joe
using System;
using System.Collections;
using System.IO;
using Beagle.Util;
class X {
public static void Main (string[] args)
{
foreach (string arg in args) {
DirectoryInfo dir = new DirectoryInfo (arg);
foreach (FileInfo file in DirectoryWalker.GetFileInfos (dir))
Console.WriteLine ("File is {0}", file);
}
}
}
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]