Answers for "c# unique"

C#
1

unique id c#

public string generateID()
{
    return Guid.NewGuid().ToString("N");
}
Posted by: Guest on August-10-2021
1

how to get unique list in c#

using(var dataModel = new DataModel())
{
  var classes = dataModel.Attributes.Where(a => a.Field == "Class").Select(a => a.Key).Distinct().ToList();
}
Posted by: Guest on January-07-2021

C# Answers by Framework

Browse Popular Code Answers by Language