Alexander Higgins
unread,Dec 24, 2007, 9:40:52 AM12/24/07Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
And and in is such a case, simply create an overload of the method
allowing the culture info to be tested.
On Dec 22, 7:36 am, "Andrew Badera" <
and...@badera.us> wrote:
> It's going to default to your main thread's culture to begin with. The only
> time you need to worry about setting culture info is when the application is
> executing on a machine whose default system culture is not what the user
> wants to utilize. Now sure, if there are localization or
> internationalization concerns, absolutely set your culture, but otherwise,
> run as client default.
>
> On 12/22/07, Cerebrus <
zorg...@sify.com> wrote:
>
>
>
>
>
> > Yes, but how would the framework determine what a given user means by
> > (as in my example) a string such as "10/13/2007", if you don't give it
> > a hint about the culture ?
>
> > On Dec 21, 3:45pm, "Andrew Badera" <
and...@badera.us> wrote:
> > > The OP has already half-implemented TryParse as it is ...
>
> > > Cerebrus -- why do you need to know culture? Let the framework handle
> > it.
> > > You don't need to know a thing about it -- TryParse is the way to go,
> > > culture is under the hood.
>
> > > --Andrew Badera- Hide quoted text -