Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Docs/articles/Kernel/VFS.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ You can get files and directory listing by using this code:
var files_list = Directory.GetFiles(@"0:\");
var directory_list = Directory.GetDirectories(@"0:\");

foreach (var file in files_list);
foreach (var file in files_list)
{
Console.WriteLine(file)
Console.WriteLine(file);
}
foreach (var directory in directory_list)
{
Expand Down Expand Up @@ -151,7 +151,7 @@ Here is a example of code of creating a new directory:
```C#
try
{
Directory.Create(@"0:\testdirectory\");
Directory.CreateDirectory(@"0:\testdirectory\");
}
catch (Exception e)
{
Expand Down Expand Up @@ -245,4 +245,4 @@ catch (Exception e)
}
```

*Last updated on 2 November 2023.*
*Last updated on 2 November 2023.*
Loading