473,322 Members | 1,403 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

How Fast do we Read

Hi , i`ve been wondering how many days do you guys need to read an average
asp.net programming book, answer honestly please, for example 800 pages big,
how many pages a day? I just wanna see if i m reading too slow... :)

I d ask another question, i have a simple function from my latest book here
and the authors of "Wrox Beginning Asp.net with c#" were not to eager to
explain the meanings of the theory of code they used in their example so i
guess i should figure it out on my own, maybe with the help from a good
soul,
So there are some confusions in the function which i d appreciate being
clarified,

The code first...

private DateTime GetSafeDate(string proposedDate)

{

// Returns a non-null DateTime even if proposed date can't be parsed

DateTime safeDate;

try {

safeDate = DateTime.Parse(proposedDate,
DateTimeFormatInfo.InvariantInfo);

} catch (Exception e) {

Response.Write("<!-- Failed to parse date: " + e.Message + " -->");

safeDate = DateTime.MinValue;

}

return safeDate;

}

What i m confused about is the "DateTime.Parse" which seems like a property
of an object or something, i know DateTime is a type of variable but i m not
sure what this means here,

Also, the "DateTimeFormatInfo.InvariantInfo" is not too clear to me either,
do you have any idea?

Thats it,
Thanx!
Jul 21 '05 #1
2 1251
"Worker" <wo****@work.net> wrote in
news:bn**********@ls219.htnet.hr:
Hi , i`ve been wondering how many days do you guys need to read
an average asp.net programming book, answer honestly please, for
example 800 pages big, how many pages a day? I just wanna see if
i m reading too slow... :)
Worker,

There is no hard number that defines a "good" or "bad" reading speed.
I think you should read at a speed where you have both
good comprehension and retension. That, IMO, is what really matters
- not how quickly you read compared to someone else.
I d ask another question, i have a simple function from my
latest book here and the authors of "Wrox Beginning Asp.net with
c#" were not to eager to explain the meanings of the theory of
code they used in their example so i guess i should figure it
out on my own, maybe with the help from a good soul,
So there are some confusions in the function which i d
appreciate being clarified,

<code snipped>


System.DateTime.Parse is a static method of the System.DateTime
class. A static method can be called without creating an instance of
the class.

The help file has extensive information on both that method and
System.Globalization.DateTimeFormatInfo. In addition to learning the
ins-and-outs of the C# language, you will also have to invest some
time in learning the .Net documentation and going through all of the
tutorials. The answer to most of the questions you encounter will
either be in the documentation, on msdn.microsoft.com, or Google
(www.google.com and groups.google.com).
Hope this helps.

Chris.
-------------
C.R. Timmons Consulting, Inc.
http://www.crtimmonsinc.com/
Jul 21 '05 #2
> Hi , i`ve been wondering how many days do you guys need to read an average
asp.net programming book, answer honestly please, for example 800 pages big, how many pages a day? I just wanna see if i m reading too slow... :)

The reading speed is not that importand.
And in programming, trial and error is very important to learn new things.
Programmers simply do not have the time to read all books, they just try,
and if they discover they do not understand something, then they go to look
into the books to get some sollutions. Or browser the Internet to find some
code samples.
I d ask another question, i have a simple function from my latest book here and the authors of "Wrox Beginning Asp.net with c#" were not to eager to

I took also a long time to understand how to convert some numerical thing
tot string and the reverse.
In C# it is very logical and intuitive. (If you know it)

The Parse() method converts strings to internal format.
The ToString() method converts the internal format to a string
representation.

The Parse function can have additional information in order to convert from
string to internal format correctly.
e.g.: DateTimeFormatInfo.InvariantInfo which holds the format of the date
and time, which is country dependend.
For example, Belgium uses 23:45:50 time, The states uses 11:45:50pm format.
DateTimeFormatInfo holds the necessary information for Parse() to correctly
recognize "pm".

Keep trying is the key to become an expert programmer. :-)

Jul 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Neil | last post by:
I have a very puzzling situation with a database. It's an Access 2000 mdb with a SQL 7 back end, with forms bound using ODBC linked tables. At our remote location (accessed via a T1 line) the time...
6
by: Cable | last post by:
Hello, I am hoping that someone can answer a question or two regarding file access. I have created an app that reads an image from a file then displays it (using OpenGL). It works well using...
6
by: G.Esmeijer | last post by:
Friends, I would like to read a text file (fixed length formaated) really fast and store the data into an Access database (2003). Using the streamreader and reading line by line, separating the...
4
by: DraguVaso | last post by:
Hi, I have files I need to read, which contains records with a variable lenght. What I need to do is Copy a Part of such a File to a new File, based on the a Begin- and End-record. I used...
6
by: DraguVaso | last post by:
Hi, I have files I need to read, which contains records with a variable lenght. What I need to do is Copy a Part of such a File to a new File, based on the a Begin- and End-record. I used...
4
by: Volker Jobst | last post by:
Hi, Is there a really fast way to read a text file which contains lines of variable length? I'm using the StreamReader to read the file, but this is not as fast as I need it. thanks a lot...
10
by: javuchi | last post by:
I just want to share some code with you, and have some comments and improvements if you want. This header file allocates and add and delete items of any kind of data from a very fast array: ...
0
by: U S Contractors Offering Service A Non-profit | last post by:
This Sunday the 26th 2006 there will be Music @ Tue Nov Inbox Reply Craig Somerford to me show details 9:54 pm (26 minutes ago) #1St "CLICK" HeAt frOm A blanket...
9
by: Salad | last post by:
I have access, for testing at my client's site, a Win2000 computer running A2003 retail. He recently upgraded all of his other machines to DualCore Pentiums with 2 gig ram and run A2003 runtime. ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.