1
0

docs: add comments to L4.LD_24

This commit is contained in:
Rokas Puzonas 2022-05-07 20:56:08 +00:00
parent 473552e643
commit aaeff900f6

View File

@ -16,6 +16,7 @@ namespace LD_24
protected void Page_Load(object sender, EventArgs e) protected void Page_Load(object sender, EventArgs e)
{ {
// Generate initial data files if they don't exist
string[] actorFiles = { "Actors1.txt", "Actors2.txt", "Actors3.txt" }; string[] actorFiles = { "Actors1.txt", "Actors2.txt", "Actors3.txt" };
foreach (string name in actorFiles) foreach (string name in actorFiles)
{ {
@ -26,6 +27,7 @@ namespace LD_24
} }
} }
// Read actors from folder
try try
{ {
actors = InOutUtils.ReadActorsDir(Server.MapPath("App_Data")); actors = InOutUtils.ReadActorsDir(Server.MapPath("App_Data"));