singrdk/base/Applications/IoLibtest/IoLibtest.sg

29 lines
762 B
Plaintext
Raw Permalink Normal View History

2008-11-17 18:29:00 -05:00
// ----------------------------------------------------------------------------
2008-03-05 09:52:00 -05:00
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
2008-11-17 18:29:00 -05:00
// ----------------------------------------------------------------------------
2008-03-05 09:52:00 -05:00
using System;
using System.IO;
namespace Microsoft.Singularity.Applications
{
public class IoLibTest
{
public static void Main(string[] args)
{
2008-11-17 18:29:00 -05:00
if (args != null && args.Length > 1) {
2008-03-05 09:52:00 -05:00
try {
File.Delete(args[1]);
}
catch (Exception e) {
Console.WriteLine("error deleting {0}, msg={1}", args[1], e.Message);
}
}
return ;
}
}
}