9 lines
		
	
	
		
			270 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			270 B
		
	
	
	
		
			C#
		
	
	
	
	
	
namespace C_.Datastructures.Generic
 | 
						|
{
 | 
						|
    abstract internal class UndirectedNode<T, NodeType>
 | 
						|
    {//Generic Node type that every other type inherits from
 | 
						|
        public T? Value { get; set; } = default;
 | 
						|
        public NodeType? Next { get; set; } = default;
 | 
						|
    }
 | 
						|
}
 |