Where is the thing that tells you what is in the C# language?

  • (2 Pages)
  • +
  • 1
  • 2

18 Replies - 5725 Views - Last Post: 11 July 2011 - 04:45 PM Rate Topic: -----

#1 falcon00  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 56
  • Joined: 23-April 09

Where is the thing that tells you what is in the C# language?

Posted 08 July 2011 - 06:15 PM

I swear I keep looking for like a reference that tells me what namespaces what classes what methods and what parameters those methods take. I CAN'T FIND IT!! F1 doesn't get me anywhere and you'd think it would be somewhere in MSDN but to no avail!! Where is it? I know it exist!
Is This A Good Question/Topic? 0
  • +

Replies To: Where is the thing that tells you what is in the C# language?

#2 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 6081
  • View blog
  • Posts: 23,558
  • Joined: 23-August 08

Re: Where is the thing that tells you what is in the C# language?

Posted 08 July 2011 - 06:30 PM

http://msdn.microsoft.com/library and click on .NET Development
Was This Post Helpful? 1
  • +
  • -

#3 tlhIn`toq  Icon User is offline

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5595
  • View blog
  • Posts: 11,971
  • Joined: 02-June 10

Re: Where is the thing that tells you what is in the C# language?

Posted 08 July 2011 - 06:35 PM

  • Intellisense. Start typing and it fills in the rest each time you hit the period.
  • Google the MSDN site I usually google "MSDN C# {term such as System.IO}"
  • Any number of C# books
  • The big wall poster that came with your copy of Visual Studio


You do realize you're asking for a list of 500,000+ things, right?
With different versions for Frameworks
  • 1
  • 2
  • 3
  • 3.5
  • 4

Was This Post Helpful? 2
  • +
  • -

#4 Curtis Rutland  Icon User is online

  • (╯□)╯︵ (~ .o.)~
  • member icon


Reputation: 4539
  • View blog
  • Posts: 7,917
  • Joined: 08-June 10

Re: Where is the thing that tells you what is in the C# language?

Posted 08 July 2011 - 06:55 PM

I'd like to add to this that there are desk reference books you can buy. They're the size of textbooks and are not a fully complete reference. The .NET framework is huge. This is probably a good page for you though:

http://msdn.microsof...y/63bf39c2.aspx
Was This Post Helpful? 2
  • +
  • -

#5 falcon00  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 56
  • Joined: 23-April 09

Re: Where is the thing that tells you what is in the C# language?

Posted 08 July 2011 - 07:25 PM

Ahhh found it!
http://msdn.microsof...y/gg145045.aspx

It was like hidden! Yeah I know it's large but how else am I going to learn what all you can do with a dataset? That's real. In the project I'm working on it's necessary for me to move back and forth in a dataset. How can I do that if I don't know what methods and properties go along with the dataset object?! You can't get that from a book because books usually give simplistic examples.
Was This Post Helpful? 0
  • +
  • -

#6 Curtis Rutland  Icon User is online

  • (╯□)╯︵ (~ .o.)~
  • member icon


Reputation: 4539
  • View blog
  • Posts: 7,917
  • Joined: 08-June 10

Re: Where is the thing that tells you what is in the C# language?

Posted 08 July 2011 - 09:26 PM

Quote

You can't get that from a book because books usually give simplistic examples.


I'm not talking about those kind of books. There are C# reference books, not intended to be text books. They're more like encyclopedias. Regardless...

Quote

how else am I going to learn what all you can do with a dataset


In almost every situation, you can just google the fully qualified name. For instance, you already know DataSet is in System.Data (and if you didn't, you could hover over it in Visual Studio). So searching like this:

http://www.google.co...em.data.dataset

Brings up the first result:

http://msdn.microsof...ta.dataset.aspx

Which gives you a listing of all constructors, properties, methods, and events of DataSet.
Was This Post Helpful? 1
  • +
  • -

#7 falcon00  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 56
  • Joined: 23-April 09

Re: Where is the thing that tells you what is in the C# language?

Posted 10 July 2011 - 08:04 PM

I went looking for reference books on Amazon. Most of what I found were just bigger thicker versions of what I already have. What I was looking for is a printed version of the .Net class library. Perhaps what I'm looking for doesn't exist. Even if it's just a subset of the classes used most often.

What I'm looking for right now is how to get to individual records in a record set. In other programming languages a record set has an index which can be referenced and it allows you to pull out whatever row you want. I'm not finding the method that allows you to do that.
Was This Post Helpful? 0
  • +
  • -

#8 SurfingShark  Icon User is offline

  • D.I.C Head

Reputation: 38
  • View blog
  • Posts: 188
  • Joined: 18-April 11

Re: Where is the thing that tells you what is in the C# language?

Posted 10 July 2011 - 09:01 PM

These days there are no reasons to have a printed version of the .NET classes. You really can find every single one on MSDN, and it's just a search away. Surely beats flipping through pages just to see a few method parameters!
Was This Post Helpful? 0
  • +
  • -

#9 Curtis Rutland  Icon User is online

  • (╯□)╯︵ (~ .o.)~
  • member icon


Reputation: 4539
  • View blog
  • Posts: 7,917
  • Joined: 08-June 10

Re: Where is the thing that tells you what is in the C# language?

Posted 10 July 2011 - 09:52 PM

Also, I suggest that you use a SqlDataAdapter to fill a DataSet, rather than a SqlDataReader. The DataReaders are designed for sequential access. Filling a table in a DataSet allows for random access.
Was This Post Helpful? 0
  • +
  • -

#10 falcon00  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 56
  • Joined: 23-April 09

Re: Where is the thing that tells you what is in the C# language?

Posted 10 July 2011 - 10:13 PM

Yeah a few weeks ago I figured out the whole data reader data adapter thing. So now I'm looking at

http://msdn.microsof...ta.dataset.aspx

And not seeing anything that gets me to where I want to go...but perhaps I'm looking at the wrong thing. Instead perhaps I should be looking at the methods for DataTable?!
Was This Post Helpful? 0
  • +
  • -

#11 falcon00  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 56
  • Joined: 23-April 09

Re: Where is the thing that tells you what is in the C# language?

Posted 10 July 2011 - 11:07 PM

And no. I'm old school. I like things like paper, highlighting, and, bookmarks.
Was This Post Helpful? 0
  • +
  • -

#12 tlhIn`toq  Icon User is offline

  • Please show what you have already tried when asking a question.
  • member icon

Reputation: 5595
  • View blog
  • Posts: 11,971
  • Joined: 02-June 10

Re: Where is the thing that tells you what is in the C# language?

Posted 10 July 2011 - 11:36 PM

I think you are failing to grasp the sheer size and scope of the .NET framework. When we tell you it would be an encyclopedia that is not an exaggeration. Then multiply that by the 4 framework versions. The book you are looking for is actually a bookcase of books.

The there would be the issue of finding what you want. If you didn't already know the namespace and class you were looking for, where in this bookcase of volumes would you start looking?

You need to accept that old-school practices don't apply well to new-school tech. If you'll want to learn modern coding you don't do it with ancient tools like Notepad.exe. You use Visual Studio. You also accept to use the MSDN library and do searches, either with the version installed on your PC with the application or the on-line version.
Was This Post Helpful? 1
  • +
  • -

#13 falcon00  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 56
  • Joined: 23-April 09

Re: Where is the thing that tells you what is in the C# language?

Posted 10 July 2011 - 11:47 PM

I don't know how I can make this any clearer; searches though online information DO NOT help when you don't know what you're looking for. As opposed to, "Oh I need to do xyz. Ok let me read through the index and find something that looks like that. Oh here it is page whatever." Yes it is large but there has to be the basic stuff that you do day in and day out. That being said you talk about a bookcase I'm already starting one. I have 5 books on C# and NONE of them tell me how to do what I need so I just ordered 2 more.

I mean really how hard is this? Go to the database. Get some records. Let me move through them all will. Forwards. Backwards. Randomly. Whatever. 5 books. No solution.
Was This Post Helpful? 0
  • +
  • -

#14 ragingben  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 170
  • View blog
  • Posts: 637
  • Joined: 07-October 08

Re: Where is the thing that tells you what is in the C# language?

Posted 11 July 2011 - 04:04 AM

I don't see how searching online is any worse than searching the index of a book. If you google "c# + move between records in a database" I doubt that you won't be able to find what you are asking, as that is quite a standard operation.

I do know what you mean, I love books and having hard copies that I can leaf through, especially when doing coding samples as it is just less tedious when working with one monitor, but I think that it is extreamly impracticle to have a "example of everything" book, when we are talking about .net 4. What the internet does provide is a lot of less specific examples and tutorials that you can peice together to obtain an example of pretty much whatever you want to do.
Was This Post Helpful? 2
  • +
  • -

#15 CodingSup3rnatur@l-360  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 992
  • Posts: 972
  • Joined: 30-September 10

Re: Where is the thing that tells you what is in the C# language?

Posted 11 July 2011 - 04:15 AM

Hi,

I sort of see what you are saying about not being able to find the relevant class page on MSDN when you don't really know the exact class/namespace your looking for. However, like ragingben said, it surely wouldn't be any different if all the namespaces and classes were listed in a book. You still wouldn't know exactly what were looking for.

Further, if you know what you want to do, but don't have any idea on how to achieve it (what classes to use etc) then finding it online is still usually quite easy, as practical examples are plenty. Then, from those examples, you can look up the classes and namespaces used on MSDN, if you want more detail.

Of course, examples for certain very specialised areas may be more difficult/impossible to find online, but then again, your unlikely to find a very specialised example in a book either :)

Anyway, if a book whose purpose is just to give explained, code examples for the most common day to day operations we perform as C# developers would help you, you could perhaps try this 'cookbook':

Cookbook

It has a contents listing the different, common coding tasks that are explained in the book (split into sections like Data Access, Threading, Networking, FileIO, WinForms, WPF etc), and an index full of the different .NET types and namespaces used in the examples. It also gives commonly used members of the different classes used in the examples, and classes contained in certain namespaces, without overloading you with every member/class under the sun :)

This post has been edited by CodingSup3rnatur@l-360: 11 July 2011 - 04:37 AM

Was This Post Helpful? 1
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2