Forum: C# Mar 26th, 2009 |
| Replies: 2 Views: 1,474 Reader has reached the end after the first while loop, and the "context" of it is basically EOF. Neither your second or third loop run. The only reason you think your second loop runs is because it... |
Forum: C# Jan 19th, 2007 |
| Replies: 5 Views: 11,720 Shouldn't MyTime = DayOfWeek.Now; be something like MyTime = (DateTime.Now);. Then you should be able to do MyTime.DayOfWeek since DayOfWeek is a property of the DateTime class, so should be called... |
Forum: C# Jan 17th, 2007 |
| Replies: 3 Views: 20,838 By the way,
C# does not allow this the way you wish to have it done, executing multiple lines of code in one case and jumping to another (unless you use proper goto statements *bad practice*,... |
Forum: C# Jan 15th, 2007 |
| Replies: 3 Views: 20,838 That's one of the fallbacks of a "strong" language such as C# over a "weak" one such as C (this is not a comparing of the strength of the language but the strength of the safeguards build into the... |
Forum: C# Dec 26th, 2006 |
| Replies: 6 Views: 3,856 I got a free online pdf book on VB.net....i think it was straight from the msdn documentation page from microsoft. Try googling that and see if there's one for C#...unfortunately I dont have the... |
Forum: C# Dec 21st, 2006 |
| Replies: 6 Views: 3,856 If you honestly wanna learn C#, I'd consider buying a book. The reason being the online tutorials are either unclear or incomplete in most cases. I bought a book awhile back and breezed right... |
Forum: C# Dec 20th, 2006 |
| Replies: 1 Views: 933 Sounds like an assignment for a compiler class....otherwise I don't see the purpose of such a compiler. Show a little work before you expect someone to just jump in and give you the code.
Do you... |
Forum: C# Dec 17th, 2006 |
| Replies: 3 Views: 1,673 how am i supposed to help w/o the code? |
Forum: C# Dec 17th, 2006 |
| Replies: 2 Views: 3,538 I think he wants help with implementation of the whole system itself, not just sleeping the thread....
Maybe you could be a little more clear on how you want this implemented and such...where the... |
Forum: C# Dec 17th, 2006 |
| Replies: 3 Views: 1,673 Please post the code (in code blocks) which is having a problem. Otherwise it's hard to tell what the problem is....but it sounds like your trying to call a print method on an object with no print... |
Forum: C# Dec 17th, 2006 |
| Replies: 9 Views: 3,998 Why would you even need a progressbar for a file less than a KB....thats like needing a photo finish for a race where the lead car is a lap up. Unless your encryption is slow enough to the point you... |
Forum: C# Nov 10th, 2006 |
| Replies: 3 Views: 2,668 There is no advantage. string == System.String.
Reguards,
Tyler S. Breton |
Forum: C# Nov 10th, 2006 |
| Replies: 2 Views: 1,432 Sounds like you're going to need a loop to traverse through each row? I dont know if thats what you're asking or not though because your question was quite general and hard to understand.
... |
Forum: C# Nov 10th, 2006 |
| Replies: 3 Views: 2,668 Well, "string" is actually an object type of the System.String class. So if you omit "using System" from your program, this will not compile:
String a = "Hello World";
Whereas this line... |
Forum: C# Nov 7th, 2006 |
| Replies: 9 Views: 4,402 youll need an outer loop which loops as high as the amount of factorials you want to compute, and an inner loop which will compute the factorial at the outer loops number.
pseudocode:
input n... |