blah blah blah is here! blah blah » Close

0
votes
2 answers

a

a

0
votes
0 answers

garbage collection

[code]using System; class MyClass { int a, b; // private // Create a class factory for MyClass. public MyClass Factory(int i, int j) { MyClass t = new MyClass(); t.a = i; t.b = j; [b]retu ...

0
votes
1 answers

Little bit of help

Hi I'm currently writing a piece of code for algorithms. My problem is though that I can't get the code to reference the .txt file, how would I do this? Also, when I try debugging it it comes up with the message saying that a project with a ...

1
votes
1 answers

Double LinkedList trouble, object won't copy by value! Help.

Hello, I read an article on double linked lists on your previous site: http://www.csharpfriends.com/Articles/getArticle.aspx?articleID=176 I implemented my version of the LinkedList. Even though C# has an excellent LinkedList class, ...

0
votes
1 answers

NullReferenceException was unhandled

Hi could somebody please help me with this as it is driving me nuts for hours!!! I keep receving the "NullReferenceException was unhandled " in the bold line: public static Conditions GetCurrentConditions(string location) { ...

1
votes
1 answers

Getting A Reference To Another Object Outside The Current Scope

eeboy
499

I've got a problem and I don't know what jargon would accurately describe it so I'll just put it out there... [code] public class MyClass { public List<Device> Devices; public Library GlobalLibrary; ...

0
votes
4 answers

Why i cannot access members throught reference?

Hi friend, here i have written a sample code for the client to access a class members in the BLL through another class: [code] namespace WindowsFormsApplication18 { public partial class Form1 : Form { A ...

0
votes
3 answers

Pass By Reference

eeboy
499

I created a method which accepts a parameter of type List<T>. The method then does some operations which fill this list. Single stepping in debug I can see that it does this correctly. However, when it returns from the method all the ...

Feedback