convert string to int | | |
Please, how can I convert selected item from dropdown list
to integer?
Thank you | | | | re: convert string to int
Hi,
Convert.ToInt32
--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com
"djozy" <anonymous@discussions.microsoft.com> wrote in message
news:10dee01c3bf1a$d28803d0$a601280a@phx.gbl...[color=blue]
> Please, how can I convert selected item from dropdown list
> to integer?
> Thank you[/color] | | | | re: convert string to int
int myInt = System.Convert.ToInt32 ( name of your item )
Dan.
"djozy" <anonymous@discussions.microsoft.com> wrote in message
news:10dee01c3bf1a$d28803d0$a601280a@phx.gbl...
Please, how can I convert selected item from dropdown list
to integer?
Thank you | | | | re: convert string to int
Are you thinking about
int selected = comboBox1.SelectedIndex;
Or just how to convert a string to integer?
int number = Convert.ToInt32(text);
int number = Int32.Parse(text);
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ | | | | re: convert string to int
Hi,
If you are sure that the values of the dropdown are numbers you can do
like:
int val = Convert.ToInt32( DropDownControl. SelectedValue );
If you are not then you can wrap the above line in a try/catch block.
Cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"djozy" <anonymous@discussions.microsoft.com> wrote in message
news:10dee01c3bf1a$d28803d0$a601280a@phx.gbl...[color=blue]
> Please, how can I convert selected item from dropdown list
> to integer?
> Thank you[/color] | | | | re: convert string to int
Is there a CanConvert like method that returns a bool instead of an
exception. The problem with wrapping in try is the wait time for the
exception.
--
William Stacey, MVP
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:#2XwdHyvDHA.2136@TK2MSFTNGP10.phx.gbl...[color=blue]
> Hi,
>
> If you are sure that the values of the dropdown are numbers you can do
> like:
> int val = Convert.ToInt32( DropDownControl. SelectedValue );
>
> If you are not then you can wrap the above line in a try/catch block.
>
>
> Cheers,
>
> --
> Ignacio Machin,
> ignacio.machin AT dot.state.fl.us
> Florida Department Of Transportation
>
> "djozy" <anonymous@discussions.microsoft.com> wrote in message
> news:10dee01c3bf1a$d28803d0$a601280a@phx.gbl...[color=green]
> > Please, how can I convert selected item from dropdown list
> > to integer?
> > Thank you[/color]
>
>[/color] | | | | re: convert string to int
Hi William,
AFAIK there is not such a method in the framework, what you can do is
include the VB.NET DLL which define a IsNumeric function.
Cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"William Stacey" <staceywREMOVE@mvps.org> wrote in message
news:%23jwCgBzvDHA.1740@TK2MSFTNGP12.phx.gbl...[color=blue]
> Is there a CanConvert like method that returns a bool instead of an
> exception. The problem with wrapping in try is the wait time for the
> exception.
>
> --
> William Stacey, MVP
>
> "Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>[/color]
wrote[color=blue]
> in message news:#2XwdHyvDHA.2136@TK2MSFTNGP10.phx.gbl...[color=green]
> > Hi,
> >
> > If you are sure that the values of the dropdown are numbers you can do
> > like:
> > int val = Convert.ToInt32( DropDownControl. SelectedValue );
> >
> > If you are not then you can wrap the above line in a try/catch block.
> >
> >
> > Cheers,
> >
> > --
> > Ignacio Machin,
> > ignacio.machin AT dot.state.fl.us
> > Florida Department Of Transportation
> >
> > "djozy" <anonymous@discussions.microsoft.com> wrote in message
> > news:10dee01c3bf1a$d28803d0$a601280a@phx.gbl...[color=darkred]
> > > Please, how can I convert selected item from dropdown list
> > > to integer?
> > > Thank you[/color]
> >
> >[/color]
>
>[/color] | | | | re: convert string to int
Hi William,
You might also use Regex as it should be fairly simple to check for the
integers.
--
Miha Markic - DXSquad/RightHand .NET consulting & software development
miha at rthand com
"William Stacey" <staceywREMOVE@mvps.org> wrote in message
news:%23jwCgBzvDHA.1740@TK2MSFTNGP12.phx.gbl...[color=blue]
> Is there a CanConvert like method that returns a bool instead of an
> exception. The problem with wrapping in try is the wait time for the
> exception.
>
> --
> William Stacey, MVP
>
> "Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>[/color]
wrote[color=blue]
> in message news:#2XwdHyvDHA.2136@TK2MSFTNGP10.phx.gbl...[color=green]
> > Hi,
> >
> > If you are sure that the values of the dropdown are numbers you can do
> > like:
> > int val = Convert.ToInt32( DropDownControl. SelectedValue );
> >
> > If you are not then you can wrap the above line in a try/catch block.
> >
> >
> > Cheers,
> >
> > --
> > Ignacio Machin,
> > ignacio.machin AT dot.state.fl.us
> > Florida Department Of Transportation
> >
> > "djozy" <anonymous@discussions.microsoft.com> wrote in message
> > news:10dee01c3bf1a$d28803d0$a601280a@phx.gbl...[color=darkred]
> > > Please, how can I convert selected item from dropdown list
> > > to integer?
> > > Thank you[/color]
> >
> >[/color]
>
>[/color] | | | | re: convert string to int
Hi Ignacio,
one problem with VB IsNumeric: does not explicitly check for integers.
that means IsNumeric() does also return true, if your string is a double(or
float). that's not always what yout want.
Reinhold
(Sorry for bad english)
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>
schrieb im Newsbeitrag news:OpRgoJzvDHA.536@tk2msftngp13.phx.gbl...[color=blue]
> Hi William,
>
> AFAIK there is not such a method in the framework, what you can do is
> include the VB.NET DLL which define a IsNumeric function.
>
>
> Cheers,
>
> --
> Ignacio Machin,
> ignacio.machin AT dot.state.fl.us
> Florida Department Of Transportation
>
> "William Stacey" <staceywREMOVE@mvps.org> wrote in message
> news:%23jwCgBzvDHA.1740@TK2MSFTNGP12.phx.gbl...[color=green]
> > Is there a CanConvert like method that returns a bool instead of an
> > exception. The problem with wrapping in try is the wait time for the
> > exception.
> >
> > --
> > William Stacey, MVP
> >
> > "Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>[/color]
> wrote[color=green]
> > in message news:#2XwdHyvDHA.2136@TK2MSFTNGP10.phx.gbl...[color=darkred]
> > > Hi,
> > >
> > > If you are sure that the values of the dropdown are numbers you can[/color][/color][/color]
do[color=blue][color=green][color=darkred]
> > > like:
> > > int val = Convert.ToInt32( DropDownControl. SelectedValue );
> > >
> > > If you are not then you can wrap the above line in a try/catch block.
> > >
> > >
> > > Cheers,
> > >
> > > --
> > > Ignacio Machin,
> > > ignacio.machin AT dot.state.fl.us
> > > Florida Department Of Transportation
> > >
> > > "djozy" <anonymous@discussions.microsoft.com> wrote in message
> > > news:10dee01c3bf1a$d28803d0$a601280a@phx.gbl...
> > > > Please, how can I convert selected item from dropdown list
> > > > to integer?
> > > > Thank you
> > >
> > >[/color]
> >
> >[/color]
>
>[/color] | | | | re: convert string to int
Hi,
Using this you will also need to check for overflow :)
Cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Miha Markic" <miha at rthand com> wrote in message
news:er5acMzvDHA.2492@TK2MSFTNGP12.phx.gbl...[color=blue]
> Hi William,
>
> You might also use Regex as it should be fairly simple to check for the
> integers.
>
> --
> Miha Markic - DXSquad/RightHand .NET consulting & software development
> miha at rthand com
>
>
> "William Stacey" <staceywREMOVE@mvps.org> wrote in message
> news:%23jwCgBzvDHA.1740@TK2MSFTNGP12.phx.gbl...[color=green]
> > Is there a CanConvert like method that returns a bool instead of an
> > exception. The problem with wrapping in try is the wait time for the
> > exception.
> >
> > --
> > William Stacey, MVP
> >
> > "Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>[/color]
> wrote[color=green]
> > in message news:#2XwdHyvDHA.2136@TK2MSFTNGP10.phx.gbl...[color=darkred]
> > > Hi,
> > >
> > > If you are sure that the values of the dropdown are numbers you can[/color][/color][/color]
do[color=blue][color=green][color=darkred]
> > > like:
> > > int val = Convert.ToInt32( DropDownControl. SelectedValue );
> > >
> > > If you are not then you can wrap the above line in a try/catch block.
> > >
> > >
> > > Cheers,
> > >
> > > --
> > > Ignacio Machin,
> > > ignacio.machin AT dot.state.fl.us
> > > Florida Department Of Transportation
> > >
> > > "djozy" <anonymous@discussions.microsoft.com> wrote in message
> > > news:10dee01c3bf1a$d28803d0$a601280a@phx.gbl...
> > > > Please, how can I convert selected item from dropdown list
> > > > to integer?
> > > > Thank you
> > >
> > >[/color]
> >
> >[/color]
>
>[/color] | | | | re: convert string to int
You're slightly missing the point then if the only check you have is an
exception.
Exceptions are meant to catch errors that are unforseen, and while .Net (in
particular) c# and VB.Net seem to use more exceptions for returning errors
(rather than a bool or hresult), good code (i.e. code that's past the beta
stage of testing and in the RC) should never hit an exception.
wrapping code in try/catch is essential for reporting to you when things
don't go as you'd expect... if you leave the door open (ie an alpha numeric
text box) for user errors then there should be tighter restrictions made on
what the user can do to prevent this from happening.
If you hit a situation where you're trying to access an object for a
conversion to int and it can't be a converted to an int, then your code
needs reviewing, and perhaps tighter controls implemented, but the exception
should still be there to catch anything that goes wrong.
In this case, the initial enquiry has little weight since an exception is
more of a debugging facility when the unexpected errors occur, rather than
handling everything that goes wrong that could go wrong, because it's not
been catered for.
Hope that helps.
Dan.
"William Stacey" <staceywREMOVE@mvps.org> wrote in message
news:%23jwCgBzvDHA.1740@TK2MSFTNGP12.phx.gbl...
Is there a CanConvert like method that returns a bool instead of an
exception. The problem with wrapping in try is the wait time for the
exception.
--
William Stacey, MVP
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:#2XwdHyvDHA.2136@TK2MSFTNGP10.phx.gbl...[color=blue]
> Hi,
>
> If you are sure that the values of the dropdown are numbers you can do
> like:
> int val = Convert.ToInt32( DropDownControl. SelectedValue );
>
> If you are not then you can wrap the above line in a try/catch block.
>
>
> Cheers,
>
> --
> Ignacio Machin,
> ignacio.machin AT dot.state.fl.us
> Florida Department Of Transportation
>
> "djozy" <anonymous@discussions.microsoft.com> wrote in message
> news:10dee01c3bf1a$d28803d0$a601280a@phx.gbl...[color=green]
> > Please, how can I convert selected item from dropdown list
> > to integer?
> > Thank you[/color]
>
>[/color] | | | | re: convert string to int
the regex is probably one of the more efficient ways of confirming the
number... | | | | re: convert string to int
<"Daniel Bass" <I'm really @ sick of spam>> wrote:[color=blue]
> the regex is probably one of the more efficient ways of confirming the
> number...[/color]
Not really. Going through the characters in the string and checking for
digits is *far* more efficient.
Search in groups.google.com for a thread called "Checking if a string
can be converted to Int32" in microsoft.public.dotnet.framework. The
results from a bit of benchmarking were (in times for checking 9
strings 100,000 times each):
Just using an exception: 1m 16s
A hand-crafted checking routine: 0.7s
Double.TryParse (for first pass removals): 41s
Regular expression: 43s
The VB "IsNumeric" method: 1m 7s
Regular expressions are incredibly powerful things, but for simple
tests like this, hand-crafted code is almost always going to be more
efficient.
--
Jon Skeet - <skeet@pobox.com> http://www.pobox.com/~skeet
If replying to the group, please do not mail me too | | | | re: convert string to int
Thanks. That was point of checking for isnumeric first, so you don't have
to hit the exception.
--
William Stacey, MVP
"Daniel Bass" <I'm really @ sick of spam> wrote in message
news:OtPRIazvDHA.1088@tk2msftngp13.phx.gbl...[color=blue]
> You're slightly missing the point then if the only check you have is an
> exception.[/color]
.... | | | | re: convert string to int
Thats good info. I would think that after you got that far, converting to a
number yourself could be faster then calling int.parse() or the like.
--
William Stacey, MVP
"Jon Skeet [C# MVP]" <skeet@pobox.com> wrote in message
news:MPG.1a4159b176e0ec9989bf7@msnews.microsoft.co m...[color=blue]
> <"Daniel Bass" <I'm really @ sick of spam>> wrote:[color=green]
> > the regex is probably one of the more efficient ways of confirming the
> > number...[/color]
>
> Not really. Going through the characters in the string and checking for
> digits is *far* more efficient.
>
> Search in groups.google.com for a thread called "Checking if a string
> can be converted to Int32" in microsoft.public.dotnet.framework. The
> results from a bit of benchmarking were (in times for checking 9
> strings 100,000 times each):
>
> Just using an exception: 1m 16s
> A hand-crafted checking routine: 0.7s
> Double.TryParse (for first pass removals): 41s
> Regular expression: 43s
> The VB "IsNumeric" method: 1m 7s
>
> Regular expressions are incredibly powerful things, but for simple
> tests like this, hand-crafted code is almost always going to be more
> efficient.
>
> --
> Jon Skeet - <skeet@pobox.com>
> http://www.pobox.com/~skeet
> If replying to the group, please do not mail me too[/color] | | | | re: convert string to int
I built this for fun for checking unsigned integers and getting bool return
plus the value if method could convert the string. Probably much faster
ways, but this works so far:
public static bool IsUInt(string str, out uint val)
{
val = 0;
if ( str == null || str.Trim() == "" )
return false;
char [] cArray = str.ToCharArray();
if ( cArray.Length > 10 || cArray.Length == 0 )
return false;
long numPlace = 1;
long num = 0;
byte b = 0;
for (int i = cArray.Length - 1; i >= 0; i--)
{
if (cArray[i] > 57 || cArray[i] < 48)
return false;
b = (byte)(cArray[i] - 48);
num = num + ( b * numPlace );
numPlace = numPlace * 10;
}
if ( num > int.MaxValue )
return false;
val = (uint)num;
return true;
}
--
William Stacey, MVP
"Reinhold Schalk" <ReiSchalk@gmx.de> wrote in message
news:uTdD7NzvDHA.1576@TK2MSFTNGP11.phx.gbl...[color=blue]
> Hi Ignacio,
> one problem with VB IsNumeric: does not explicitly check for integers.
> that means IsNumeric() does also return true, if your string is a[/color]
double(or[color=blue]
> float). that's not always what yout want.
>
> Reinhold
> (Sorry for bad english)
>
> "Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>
> schrieb im Newsbeitrag news:OpRgoJzvDHA.536@tk2msftngp13.phx.gbl...[color=green]
> > Hi William,
> >
> > AFAIK there is not such a method in the framework, what you can do is
> > include the VB.NET DLL which define a IsNumeric function.
> >
> >
> > Cheers,
> >
> > --
> > Ignacio Machin,
> > ignacio.machin AT dot.state.fl.us
> > Florida Department Of Transportation
> >
> > "William Stacey" <staceywREMOVE@mvps.org> wrote in message
> > news:%23jwCgBzvDHA.1740@TK2MSFTNGP12.phx.gbl...[color=darkred]
> > > Is there a CanConvert like method that returns a bool instead of an
> > > exception. The problem with wrapping in try is the wait time for the
> > > exception.
> > >
> > > --
> > > William Stacey, MVP
> > >
> > > "Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>[/color]
> > wrote[color=darkred]
> > > in message news:#2XwdHyvDHA.2136@TK2MSFTNGP10.phx.gbl...
> > > > Hi,
> > > >
> > > > If you are sure that the values of the dropdown are numbers you can[/color][/color]
> do[color=green][color=darkred]
> > > > like:
> > > > int val = Convert.ToInt32( DropDownControl. SelectedValue );
> > > >
> > > > If you are not then you can wrap the above line in a try/catch[/color][/color][/color]
block.[color=blue][color=green][color=darkred]
> > > >
> > > >
> > > > Cheers,
> > > >
> > > > --
> > > > Ignacio Machin,
> > > > ignacio.machin AT dot.state.fl.us
> > > > Florida Department Of Transportation
> > > >
> > > > "djozy" <anonymous@discussions.microsoft.com> wrote in message
> > > > news:10dee01c3bf1a$d28803d0$a601280a@phx.gbl...
> > > > > Please, how can I convert selected item from dropdown list
> > > > > to integer?
> > > > > Thank you
> > > >
> > > >
> > >
> > >[/color]
> >
> >[/color]
>
>[/color] | | | | re: convert string to int
I fixed a small issue and went ahead and did string and char[] versions for
IsUInt and IsInt :
public static bool IsUInt(string str, out uint val)
{
val = 0;
if ( str == null )
return false;
char [] cArray = str.ToCharArray();
return Bits.IsUInt(cArray, out val);
}
public static bool IsUInt(char[] cArray, out uint val)
{
val = 0;
if ( cArray == null || cArray.Length == 0 )
return false;
if ( cArray.Length > 10 )
return false;
long numPlace = 1;
long num = 0;
byte b = 0;
for (int i = cArray.Length - 1; i >= 0; i--)
{
if (cArray[i] > 57 || cArray[i] < 48)
return false;
b = (byte)(cArray[i] - 48);
num = num + ( b * numPlace );
numPlace = numPlace * 10;
}
if ( num > uint.MaxValue )
return false;
val = (uint)num;
return true;
}
public static bool IsInt(string str, out int val)
{
val = 0;
if ( str == null )
return false;
char [] cArray = str.ToCharArray();
return Bits.IsInt(cArray, out val);
}
public static bool IsInt(char[] cArray, out int val)
{
val = 0;
if ( cArray == null || cArray.Length == 0 )
return false;
if ( cArray.Length > 11 ) //10 max numerics plus one minus sign.
return false;
long numPlace = 1;
long num = 0;
byte b = 0;
int signed = 1;
if ( cArray[0] == '-' )
{
signed = -1;
cArray[0] = '0';
if ( cArray.Length == 1 )
return false;
}
for (int i = cArray.Length - 1; i >= 0; i--)
{
if (cArray[i] > 57 || cArray[i] < 48)
return false;
b = (byte)(cArray[i] - 48);
num = num + ( b * numPlace );
numPlace = numPlace * 10;
}
num = num * signed;
if ( num > int.MaxValue || num < int.MinValue )
return false;
val = (int)num;
return true;
}
--
William Stacey, MVP | | | | re: convert string to int
William Stacey wrote:[color=blue]
> Is there a CanConvert like method that returns a bool instead of an
> exception. The problem with wrapping in try is the wait time for the
> exception.[/color]
I like to use double.TryParse. It returns false if you pass an invalid
string. It also allows for any numeric formatting specified in the
user's Control Panel setting and is culturally aware. Convert and
int.Parse are entirely too finicky when compared to TryParse.
--
There are 10 kinds of people. Those who understand binary and those who
don't. http://code.acadx.com
(Pull the pin to reply) | | | | re: convert string to int
William Stacey <staceywREMOVE@mvps.org> wrote:[color=blue]
> Thats good info. I would think that after you got that far, converting to a
> number yourself could be faster then calling int.parse() or the like.[/color]
Hmm... possibly, but it would be significantly harder, I suspect. There
are cases that my code still won't catch - I still rely on int.Parse()
throwing an exception in the rare cases that I miss.
--
Jon Skeet - <skeet@pobox.com> http://www.pobox.com/~skeet
If replying to the group, please do not mail me too | | | | re: convert string to int
Congrats Mr Skeet,
I see you're a dad! =o)
Dan.
"Jon Skeet [C# MVP]" <skeet@pobox.com> wrote in message
news:MPG.1a42434ebdf82b2d989bfc@msnews.microsoft.c om...
William Stacey <staceywREMOVE@mvps.org> wrote:[color=blue]
> Thats good info. I would think that after you got that far, converting to[/color]
a[color=blue]
> number yourself could be faster then calling int.parse() or the like.[/color]
Hmm... possibly, but it would be significantly harder, I suspect. There
are cases that my code still won't catch - I still rely on int.Parse()
throwing an exception in the rare cases that I miss.
--
Jon Skeet - <skeet@pobox.com> http://www.pobox.com/~skeet
If replying to the group, please do not mail me too | | | | re: convert string to int
No, but it will narrow down the selection without throwing errors.
--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:ekLK1TzvDHA.1764@TK2MSFTNGP10.phx.gbl...[color=blue]
> Hi,
>
> Using this you will also need to check for overflow :)[/color] | | | | re: convert string to int
<"Daniel Bass" <I'm really @ sick of spam>> wrote:[color=blue]
> Congrats Mr Skeet,
>
> I see you're a dad! =o)[/color]
Yup. I nearly posted to the group explaining why I wouldn't be posting
much for a while, but in fact it doesn't seem to have had much effect
in the end :)
For those who want to see photos of Tom, go to http://www.pobox.com/~skeet/tom
To get back on-topic for a second, I now confess to being one of the
geekiest people on the planet: we were finding it tricky to time
Holly's contractions accurately with a watch, as the only watch we had
with a second hand was tricky to read quickly - so between early
contractions I wrote a little app in C# to time and log the
contractions and the intervals between them. Ah well...
--
Jon Skeet - <skeet@pobox.com> http://www.pobox.com/~skeet
If replying to the group, please do not mail me too | | | | re: convert string to int
Hi,
Yes but you still have to use a try/catch, which is what you are trying to
avoid in the first place :)
Cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"Miha Markic" <miha at rthand com> wrote in message
news:%23h%23q0u8vDHA.1908@TK2MSFTNGP10.phx.gbl...[color=blue]
> No, but it will narrow down the selection without throwing errors.
>
> --
> Miha Markic - RightHand .NET consulting & software development
> miha at rthand com
>
> "Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>[/color]
wrote[color=blue]
> in message news:ekLK1TzvDHA.1764@TK2MSFTNGP10.phx.gbl...[color=green]
> > Hi,
> >
> > Using this you will also need to check for overflow :)[/color]
>
>[/color] | | | | re: convert string to int
Hi Igancio,
I am trying to avoid throwing an exception (and not the try/catch block
itself - it would be nice to avoid it too) because it is annoying at debug
time...:)
--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:uhCKF5%23vDHA.2260@TK2MSFTNGP09.phx.gbl...[color=blue]
> Hi,
>
> Yes but you still have to use a try/catch, which is what you are trying[/color]
to[color=blue]
> avoid in the first place :)[/color] | | | | re: convert string to int
Congrates Jon! Love'em ankle bitters :-)
--
William Stacey, MVP
"Jon Skeet [C# MVP]" <skeet@pobox.com> wrote in message
news:MPG.1a425cad4514d91d989c07@msnews.microsoft.c om...[color=blue]
> <"Daniel Bass" <I'm really @ sick of spam>> wrote:[color=green]
> > Congrats Mr Skeet,
> >
> > I see you're a dad! =o)[/color]
>
> Yup. I nearly posted to the group explaining why I wouldn't be posting
> much for a while, but in fact it doesn't seem to have had much effect
> in the end :)
>
> For those who want to see photos of Tom, go to
> http://www.pobox.com/~skeet/tom
>
> To get back on-topic for a second, I now confess to being one of the
> geekiest people on the planet: we were finding it tricky to time
> Holly's contractions accurately with a watch, as the only watch we had
> with a second hand was tricky to read quickly - so between early
> contractions I wrote a little app in C# to time and log the
> contractions and the intervals between them. Ah well...
>
> --
> Jon Skeet - <skeet@pobox.com>
> http://www.pobox.com/~skeet
> If replying to the group, please do not mail me too[/color] |  | Similar C# / C Sharp bytes | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 226,419 network members.
|