blah blah blah is here! blah blah » Close

0
votes
1 answers

classes example in C# language

Hi friends I am learning C# language online and came across this question Code Exercise: Cola Machine Please use the language of your choice to model a simple cola machine. Within the cola machine, please create classes for the ...

0
votes
1 answers

how to use classes for sql connection

how can i use classes on the program i am making? any help please? [code] using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text ...

0
votes
1 answers

Class instantiation query

I've asked a few in my office this with no luck, so over to you guys! Here are my classes: public class JobStep { public string Element { get; set; } public string Action { get; set; } public string ...

0
votes
2 answers

OOP question

Hi all I'm trying to learn object-oriented technique and I think I start to learn it now, however there is one thing I still struggle with and would like to ask you. For example if I have a class with an arraylist in, which I populate ...

-1
votes
0 answers

C# Classes implementing one another

I have a class NumbersToWords that I borrowed and tweaked for my purposes. The problems I am having is when I have instaniated the numbersToWords class into my printer class it is telling me that my method is taking zero arguments. That met ...

0
votes
2 answers

Adding objects to List<>

btab
30

Hi I'm working in VS2008 (C#) and doing a console program, this is a school work and I got stucked. Our task is to do two classes, for example one class we call Person, in this class we should have name and id number on persons. The oth ...

0
votes
1 answers

classes

hi! I liked this site so much that I'm gonna use it once more :) [code] public class Film { class film { public string Title; public int Price; public string Genre; ...

0
votes
1 answers

Can someone help/explain me how to create classes in my drawapp...?

Hy, I'm new in c# but i'm trying to learn.. At this moment i am stucked.. I wrote a programme to draw basic geometric figures (lines, squares, etc) But now i would like to make a class for every figures.. Can someone help me on the wright ...

0
votes
1 answers

How to link to classes in c#

[code] namespace BankForms { public class Account { #region Private details private string name; private string address; private int accountnumber; private strin ...

Feedback