using System.Collections.Generic; namespace C_.Datastructures.Generic { abstract internal class UndirectedNode {//Generic Node type that every other type inherits from public T? Value { get; set; } = default; internal NodeType? Next { get; set; } = default; } }