// This is the main project file for VC++ application project // generated using an Application Wizard. #include "stdafx.h" #using using namespace System; using namespace LinkedListLibrary; int _tmain() { int i; ListNode* Temp; List *testlist=new List("hehe"); for (i=1;i<10;i++) { //Temp=new ListNode(__box(i)); testlist->AddNode(__box(i)); } testlist->Print(); Temp=testlist->Search(__box(2)); Console::WriteLine(S"{0}",Temp->get_Data()->ToString()); // TODO: Please replace the sample code below with your own. return 0; }