You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
496 B
C#
22 lines
496 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BP.Tools
|
|
{
|
|
public class BaseFileUtils
|
|
{
|
|
/// <summary>
|
|
/// 为了java容易翻译,与java的语法保持一致.
|
|
/// </summary>
|
|
/// <param name="path"></param>
|
|
/// <returns></returns>
|
|
public static string[] getFiles(string path)
|
|
{
|
|
return System.IO.Directory.GetFiles(path);
|
|
}
|
|
}
|
|
}
|