diff --git a/Mystify/Enumerables.cs b/Mystify/Enumerables.cs new file mode 100644 index 0000000..1b75b98 --- /dev/null +++ b/Mystify/Enumerables.cs @@ -0,0 +1,14 @@ +// Author: Gockner, Simon +// Created: 2021-04-14 +// Copyright(c) 2021 SimonG. All Rights Reserved. + +using System.Collections.Generic; +using System.Collections.ObjectModel; + +namespace Mystify +{ + public static class Enumerables + { + public static ObservableCollection ToObservableCollection(this IEnumerable enumerable) => new(enumerable); + } +} \ No newline at end of file