[dotnet] Add dotnet projects and examples
+ Sitemap generator I created while learning the dispose pattern + Testing project for learning general C#
This commit is contained in:
19
dotnet/testing/KlipsLibrary/Fruit.cs
Normal file
19
dotnet/testing/KlipsLibrary/Fruit.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Collections.ObjectModel;
|
||||
|
||||
namespace KlipsLibrary;
|
||||
|
||||
public class Fruit
|
||||
{
|
||||
public Fruit()
|
||||
{
|
||||
Name = "Default";
|
||||
}
|
||||
|
||||
public Fruit(string name)
|
||||
{
|
||||
Name = name;
|
||||
}
|
||||
public string Name { get; set; }
|
||||
}
|
||||
|
||||
public class Fruits : Collection<Fruit> { }
|
||||
Reference in New Issue
Block a user