473,394 Members | 1,750 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,394 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 1255
"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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.