Hello guys, i would like to know what is the differene between doing so
` public sealed class Category
{
public Guid Id { get; }
public string Name { get; }
private Category(Guid id, string name)
{
Id = id;
Name = name;
}
public static Category Create(Guid id, string name)
=> new Category(id, name);
}`
and just calling an instance of an object instead of having the static method Create like this i mean var category = new Category(id, name);