|
Thanks for the suggestion. I just ordered that book.
|
|
|
|
|
Just an update... got my copy Monday, skimmed over it, and it looks excellent. It covers a lot of topics that previous books I've used didn't, some basic things I didn't know, and I learned a few new things in the first 50 pages. But it's got to go back on the pile for a few weeks, at least until I finish this Statistics course... darn.
Will Rogers never met me.
|
|
|
|
|
Yeah I got mine Monday also. I've read about the first 100 or so pages and done all the exercises. Haven't learned anything new so far, but I'm reading it in conjunction with PRO C# and .NET 2010 which is explaining a whole lot of things I never even new existed.
|
|
|
|
|
|
LINQPad is great. I use it all the time for testing small snippets, one-time mini-programs, and just playing around to figure out how to use a .NET feature. The Dump() method is particularly useful for getting a feel for the structure of an object you're not familiar with.
The shout of progress is not "Eureka!" it's "Strange... that's not what i expected". - peterchen
|
|
|
|
|
As you said, Dump() method is really a nice feature to visualize.
|
|
|
|
|
Thats GR8 To Work LinqPad.
|
|
|
|
|
|
MSDN has some simple tutorials[^], and I can also recommend Charles Petzold's .NET Book Zero[^].
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
|
|
|
|
|
Just a tip, but I found that many (not all of them) sample code in books where wrong in some way or another. Sometimes it was a type-o, sometimes they use a function that doesn't work or often they have a wrong logic, sometimes you need to have done something else and they forgot to mention. Most problems are small, in a rare occasion it is totally wrong.
I suspect more or less it is done on purpose to let you think and figure out for yourself, but it could be frustrating if you don't expect errors in samples.
V.
|
|
|
|
|
Not sure why this was downvoted, gave it a 4 to compensate.
Textbooks with exercises seem to be out of fashion these days. K&R (the classic C language guide) has them at the end of every chapter, and that was a good idea (even if I didn't actually do most of them!). But it is a good suggestion to read the description of a problem or a language feature, stop before you get to their worked example, and try to solve it/make use of it yourself, then look at what they prepared.
Unfortunately it's so long since I needed non-programmers' introductions that I can't really offer any meaningful advice because my source material is not relevant any more.
|
|
|
|
|
I had a great textbook for learning introductory algorithms like binary searches and stuff like that, and it had exercises at the end of each chapter we read. That helped me learn the material because I was having to create a program based off the exercise that didn't exactly match the samples in the book.
Too bad it's "out of fashion."
|
|
|
|
|
|
I liked Wrox's Beginning Series, the C# one was structured in a way that encouraged you to code while reading.
|
|
|
|
|
|
This article came up in the first search [^]of articles, it should be your first port of call!
Take a look at the guidelines and work out how to ask a question!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
I want to display that data from the databse, you can not guide more detailed, the above example we did not understand anything.
I want to display like below:
Date: 21/06/2009----------------------------------------------------------------
name1
name1
name2
Date: 22/06/2009----------------------------------------------------------------
name1
name2
Date: 23/06/2009---------------------------------------------------------------
name3
Thanks
|
|
|
|
|
Hi
I have a WinForm with App.Config file.
There is a <connectionstring> inside the App.Config for MySql server like this:
Server=xxx.xxx.xxx.xxx;Database=xxx;UID=xxx;password=xxx;
Is there any way to extract server value to txtServer, database value to txtDatabase, UID to txtUser and password to txtPassword?
|
|
|
|
|
Not with the built-in tools, but you could write something -- perhaps with a Regular Expression -- or put each in a separate element.
|
|
|
|
|
If it is in the connection strings section you can do ConfigurationManager.ConnectionsStrings[0].Name etc.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
|
Use two splits:
- string[] pieces=connectionString.Split(';');
- each "piece" is a key-value-pair separated by an "=":
string[] pair=piece.Split('=');
|
|
|
|
|
Hi All,
let's suppose
class A
{
int iA1{ get; set; }
int iA2{ get; set; }
}
class B
{
int iB1{ get; set; }
int iB2{ get; set; }
}
class C
{
int iC1{ get; set; }
int iC2{ get; set; }
}
Now i want make type ABC1 for List<<ABC1> and this ABC1 contain iA1,iB1,iC1 and iC2.
But bellow code is not working...plz suggest me, i just want List.
public interface IABC1
{
A a { get; set; }
B b { get; set; }
C c { get; set; }
}
public class ABC1:IABC1
{
#region IABC1 Members
....
...
}
Thanks,
|
|
|
|
|
OK i find it ...just make the public.
class A
{
public int iA1{ get; set; }
public int iA2{ get; set; }
}
Is it better way for multiple inheritance?
Thanks,
|
|
|
|
|
zeeShan anSari wrote: Is it better way for multiple inheritance?
Well, it isn't multiple inheritance, but it may suit your needs better.
And a shameless plug: Implanting Common Code in Unrelated Classes[^]
modified 12-Apr-12 12:40pm.
|
|
|
|