Click here to Skip to main content
15,917,454 members
Home / Discussions / C#
   

C#

 
GeneralRe: NtSuspendProcess (save a n00b) Pin
SeMartens21-Oct-08 9:45
SeMartens21-Oct-08 9:45 
QuestionbindingNavigator Pin
ahmadbakro21-Oct-08 8:22
ahmadbakro21-Oct-08 8:22 
QuestionObjForScrpt Pin
Christopher Hernandez21-Oct-08 5:37
Christopher Hernandez21-Oct-08 5:37 
AnswerRe: ObjForScrpt Pin
Simon P Stevens21-Oct-08 5:41
Simon P Stevens21-Oct-08 5:41 
GeneralRe: ObjForScrpt Pin
Christopher Hernandez22-Oct-08 9:09
Christopher Hernandez22-Oct-08 9:09 
GeneralRe: ObjForScrpt Pin
Pete O'Hanlon22-Oct-08 9:27
mvePete O'Hanlon22-Oct-08 9:27 
AnswerRe: ObjForScrpt Pin
Paul Conrad21-Oct-08 5:53
professionalPaul Conrad21-Oct-08 5:53 
Questionlinked list in 2.0 and the error: Pin
nesfrank21-Oct-08 5:29
nesfrank21-Oct-08 5:29 
Guys, I am trying to do the following but I get some conversion errors. can someone help me please?
Class:
public class Widget
{
public string RSP = "";
public int WidgetOrDiscount = 0;
public decimal Price = 0.0m;
}

Console apps:
static void Main(string[] args)
{

//LinkedList<System.String> myList = new LinkedList<System.String>();
LinkedList<Assignment3.Widget> myList = new LinkedList<Assignment3.Widget>();
PopulateData(ref myList);

}

private static void PopulateData(ref LinkedList<Widget> myList) {
//record 001
Widget wdg1 = new Assignment3.Widget();
wdg1.RSP = "R";
wdg1.WidgetOrDiscount=150;
wdg1.Price=1.00m;
myList.AddFirst(wdg1);
//record 002
Widget wdg2 = new Assignment3.Widget();
wdg2.RSP = "R";
wdg2.WidgetOrDiscount = 130;
wdg2.Price = 2.00m;
myList.AddAfter(wdg1, wdg2);
//record 003
Widget wdg3 = new Assignment3.Widget();
wdg3.RSP = "S";
wdg3.WidgetOrDiscount = 145;
wdg3.Price =0.00m;
myList.AddAfter(wdg2, wdg3);
//record 004
Widget wdg4 = new Assignment3.Widget();
wdg4.RSP = "R";
wdg4.WidgetOrDiscount = 50;
wdg4.Price = 2.50m;
myList.AddAfter(wdg3, wdg4);




}

Please help me.
AnswerRe: linked list in 2.0 and the error: Pin
Ennis Ray Lynch, Jr.21-Oct-08 5:38
Ennis Ray Lynch, Jr.21-Oct-08 5:38 
GeneralRe: linked list in 2.0 and the error: Pin
nesfrank21-Oct-08 5:57
nesfrank21-Oct-08 5:57 
GeneralRe: linked list in 2.0 and the error: Pin
nesfrank21-Oct-08 6:07
nesfrank21-Oct-08 6:07 
GeneralRe: linked list in 2.0 and the error: [modified] Pin
Pedram Behroozi21-Oct-08 8:21
Pedram Behroozi21-Oct-08 8:21 
QuestionC# DataGridView extension to allow Drag n Drop. Pin
Graham_421-Oct-08 5:22
Graham_421-Oct-08 5:22 
AnswerRe: C# DataGridView extension to allow Drag n Drop. Pin
led mike21-Oct-08 9:09
led mike21-Oct-08 9:09 
Questionselection of row on which i mouse right click button is clicked in true db grid Pin
tanvir209021-Oct-08 5:08
tanvir209021-Oct-08 5:08 
AnswerRe: selection of row on which i mouse right click button is clicked in true db grid Pin
Ashfield21-Oct-08 5:12
Ashfield21-Oct-08 5:12 
GeneralPaginated UI Pin
hairy_hats21-Oct-08 4:20
hairy_hats21-Oct-08 4:20 
GeneralRe: Paginated UI Pin
Ennis Ray Lynch, Jr.21-Oct-08 4:46
Ennis Ray Lynch, Jr.21-Oct-08 4:46 
QuestionHow can we get total days of the month? Pin
ATC21-Oct-08 4:04
ATC21-Oct-08 4:04 
QuestionRe: How can we get total days of the month? Pin
Eddy Vluggen21-Oct-08 4:16
professionalEddy Vluggen21-Oct-08 4:16 
AnswerRe: How can we get total days of the month? Pin
Guffa21-Oct-08 14:20
Guffa21-Oct-08 14:20 
QuestionHow to execute a SQL request thru a Thread Pin
magpierre21-Oct-08 4:01
magpierre21-Oct-08 4:01 
AnswerRe: How to execute a SQL request thru a Thread Pin
Eddy Vluggen21-Oct-08 4:16
professionalEddy Vluggen21-Oct-08 4:16 
Questionopening multi forms Pin
Miss_hacker21-Oct-08 3:14
Miss_hacker21-Oct-08 3:14 
AnswerRe: opening multi forms Pin
leppie21-Oct-08 3:16
leppie21-Oct-08 3:16 

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.