Click here to Skip to main content
15,904,416 members
Home / Discussions / C#
   

C#

 
GeneralRe: Retrieve IP Address and compare with database Pin
dalila y19-Feb-10 16:24
dalila y19-Feb-10 16:24 
GeneralRe: Retrieve IP Address and compare with database Pin
PIEBALDconsult19-Feb-10 17:40
mvePIEBALDconsult19-Feb-10 17:40 
Questionhow can i kill a protected process?? [modified] or a SYSTEM process ?? Pin
andyxfun19-Feb-10 4:46
andyxfun19-Feb-10 4:46 
AnswerRe: how can i kill a protected process?? [modified] or a SYSTEM process ?? Pin
Dave Kreskowiak19-Feb-10 9:28
mveDave Kreskowiak19-Feb-10 9:28 
QuestionNeed a class that will implemnt strings Pin
joejack22219-Feb-10 4:35
joejack22219-Feb-10 4:35 
AnswerRe: Need a class that will implemnt strings Pin
OriginalGriff19-Feb-10 4:56
mveOriginalGriff19-Feb-10 4:56 
GeneralRe: Need a class that will implemnt strings [modified] Pin
joejack22219-Feb-10 5:01
joejack22219-Feb-10 5:01 
GeneralRe: Need a class that will implemnt strings Pin
Eddy Vluggen19-Feb-10 7:05
professionalEddy Vluggen19-Feb-10 7:05 
joejack222 wrote:
List or dictionary would be a simple solution but unfortunately, I need to use the other classes.


Make sure that it's worth the effort; the prebuilt classes are well-documented (meaning that they're easier to learn) and are used by lots of people (meaning that they're used in lots of conditions, and probably contain very little bugs).


joejack222 wrote:
I can't figure out the implementation of the class using a List in combination with the other class


For your entertainment, your Linked List works on my system. I've only changed the names of your classes, and added some testcode;
class MyListNode
{
	public string x;
	public MyListNode Next;
}

class MyList
{
	public MyListNode First;
}

class Program
{
	public static void Main(string[] args)
	{
		MyList myList = new MyList();
		myList.First = new MyListNode() {x="Hello"};
		myList.First.Next = new MyListNode() {x="World"};
		myList.First.Next.Next = new MyListNode() {x="from"};
		myList.First.Next.Next.Next = new MyListNode() {x="CodeProject"};
		
		MyListNode currentNode = myList.First;
		while (currentNode != null) {
			Console.WriteLine(currentNode.x);
			currentNode = currentNode.Next;
		}
		
		Console.Write("Press any key to continue . . . ");
		Console.ReadKey(true);
	}
}
Where are you having trouble?
I are Troll Suspicious | :suss:

AnswerRe: Need a class that will implemnt strings Pin
PIEBALDconsult19-Feb-10 6:41
mvePIEBALDconsult19-Feb-10 6:41 
GeneralRe: Need a class that will implemnt strings Pin
joejack22219-Feb-10 7:14
joejack22219-Feb-10 7:14 
QuestionI need to create 150 variable names....need an efficient way of doing it Pin
Sundeepan Sen19-Feb-10 4:27
Sundeepan Sen19-Feb-10 4:27 
AnswerDon't Pin
Ennis Ray Lynch, Jr.19-Feb-10 4:36
Ennis Ray Lynch, Jr.19-Feb-10 4:36 
QuestionRe: I need to create 150 variable names....need an efficient way of doing it Pin
harold aptroot19-Feb-10 4:37
harold aptroot19-Feb-10 4:37 
AnswerMessage Closed Pin
19-Feb-10 4:39
stancrm19-Feb-10 4:39 
GeneralRe: I need to create 150 variable names....need an efficient way of doing it Pin
Sundeepan Sen19-Feb-10 4:49
Sundeepan Sen19-Feb-10 4:49 
GeneralRe: I need to create 150 variable names....need an efficient way of doing it Pin
monstale19-Feb-10 4:59
monstale19-Feb-10 4:59 
GeneralRe: I need to create 150 variable names....need an efficient way of doing it Pin
Sundeepan Sen19-Feb-10 5:03
Sundeepan Sen19-Feb-10 5:03 
QuestionRe: I need to create 150 variable names....need an efficient way of doing it Pin
monstale19-Feb-10 5:05
monstale19-Feb-10 5:05 
AnswerRe: I need to create 150 variable names....need an efficient way of doing it Pin
Sundeepan Sen19-Feb-10 5:12
Sundeepan Sen19-Feb-10 5:12 
AnswerRe: I need to create 150 variable names....need an efficient way of doing it Pin
monstale19-Feb-10 5:15
monstale19-Feb-10 5:15 
GeneralRe: I need to create 150 variable names....need an efficient way of doing it Pin
Sundeepan Sen19-Feb-10 5:42
Sundeepan Sen19-Feb-10 5:42 
GeneralRe: I need to create 150 variable names....need an efficient way of doing it Pin
harold aptroot19-Feb-10 5:16
harold aptroot19-Feb-10 5:16 
GeneralRe: I need to create 150 variable names....need an efficient way of doing it Pin
Dave Kreskowiak19-Feb-10 9:08
mveDave Kreskowiak19-Feb-10 9:08 
AnswerRe: I need to create 150 variable names....need an efficient way of doing it Pin
dan!sh 19-Feb-10 10:03
professional dan!sh 19-Feb-10 10:03 
GeneralRe: I need to create 150 variable names....need an efficient way of doing it Pin
Sundeepan Sen19-Feb-10 13:43
Sundeepan Sen19-Feb-10 13:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.