Posted
I wanted to know how to use Listview WINFORM
Replied
public static DirectoryInfo Info { get; } = new("./scripts/");
[STAThread]
static void Main(string[] args)
{
FileInfo[] Collection = Info.GetFiles(".txt");
for (int I = 0; I < Collection.Length; I++)
Console.WriteLine(Collection[I].FullName);
}
You don't need STAThread, I just included that because mine uses it.
Cancel
Post
Replied
its like a list
:bigbrain:
Cancel
Post
hi123
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post