C#C
C#8mo ago
mh4s

✅ why is the code so short?

so i have a piece of code:
public enum UserStatus
{
    Active,
    Inactive,
    Suspended
};

thats a whole file and i dont know why it is so short, its in a folder called "Enums" and in file called "UserStatus", im providing a screenshot for better understanding of the whole project, but for example the file "SampleInterests" has all of this:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.NetworkInformation;
using System.Text;
using System.Threading.Tasks;

namespace klasy.Data
{
    internal class SampleInterests
    {
        public static List<string> Interests = new List<string>()
        {
            "Programowanie",
            "Gotowanie",
            "Granie",
            "Podróże",
            "Sport",
            "Muzyka"
        };
    }
}

so why is the 1st file different from the 2nd one, can someone explain? why is the 2nd one in a class but the 1st one not?
image.png
Was this page helpful?