Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Linked Lists
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { //Your code goes here Console.WriteLine("Hello, world!"); Node list=new Node(){Data=10,Next=new Node(){Data=20,Next=new Node(){Data=30,Next=null}}}; } public int Length(Node list) { int len=0; While(list!=null) { len=len+1; list=list.Next; } return len; } } public class Node { public int Data{get;set;} public Node Next{get;set;} } }
run
|
edit
|
history
|
help
0
Side 1
C# - Date Validation
QQW
Random number guessing game v1
UPDJLJ87258 Orderby grouping understanding
Find X numbers of 6 in row (dices)
asasa
Rank
Interface
Cenforce 100 mg