C# LinkedListNode Value

Description

LinkedListNode Value gets the value contained in the node.

Syntax

LinkedListNode.Value has the following syntax.


public T Value { get; set; }

Example


using System;//www .  j  av a2  s  .c  o  m
using System.Collections.Generic;

public class GenericCollection  {

   public static void Main()  {
      LinkedListNode<String> lln = new LinkedListNode<String>( "C#" );

      Console.WriteLine(lln.Value );
   }

}

The code above generates the following result.





















Home »
  C# Tutorial »
    System.Collections.Generic »




HashSet
LinkedList
LinkedListNode
List
Queue
SortedSet
Stack