PC Review


Reply
Thread Tools Rate Thread

Constants or resources

 
 
DBC User
Guest
Posts: n/a
 
      1st Sep 2006
Hi Sharpies,

Quick question apart from deployment and internationalisation benefits,
is there any benefit in using string table for resources than
constants? Which is very good in performance, resources or constants?

Thanks in advance.

 
Reply With Quote
 
 
 
 
Ignacio Machin \( .NET/ C# MVP \)
Guest
Posts: n/a
 
      1st Sep 2006
Hi,

I think that the resousrce have more over head than a direct string
declared in the code.


--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"DBC User" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi Sharpies,
>
> Quick question apart from deployment and internationalisation benefits,
> is there any benefit in using string table for resources than
> constants? Which is very good in performance, resources or constants?
>
> Thanks in advance.
>



 
Reply With Quote
 
DBC User
Guest
Posts: n/a
 
      1st Sep 2006
Is there a way to elobarate the overheads, trying to understand. One
thing for sure is there is method call to get the string values at run
time on the other hand constands are replaced at run time. Is this
correct?
Thanks.
Ignacio Machin ( .NET/ C# MVP ) wrote:
> Hi,
>
> I think that the resousrce have more over head than a direct string
> declared in the code.
>
>
> --
> --
> Ignacio Machin,
> ignacio.machin AT dot.state.fl.us
> Florida Department Of Transportation
>
> "DBC User" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi Sharpies,
> >
> > Quick question apart from deployment and internationalisation benefits,
> > is there any benefit in using string table for resources than
> > constants? Which is very good in performance, resources or constants?
> >
> > Thanks in advance.
> >


 
Reply With Quote
 
Ignacio Machin \( .NET/ C# MVP \)
Guest
Posts: n/a
 
      1st Sep 2006
Hi,



"DBC User" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Is there a way to elobarate the overheads, trying to understand. One
> thing for sure is there is method call to get the string values at run
> time on the other hand constands are replaced at run time. Is this
> correct?



Yes, I assume this is the case.

How different it's ?, well you will have to find that out


--
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where are on the web the WM constants ?? pamelafluente@libero.it Microsoft VB .NET 12 28th Jan 2006 12:41 AM
Setup Error Failed to lad resources from resources file Please check your setup spielmann Microsoft Dot NET Framework 0 14th Apr 2005 01:39 PM
Constants in VBA Don Microsoft Access Form Coding 3 20th Feb 2005 07:22 PM
.resources generated by .NET and creating your own Example2.resources.dll Derick Smith Microsoft VB .NET 0 15th Oct 2004 03:54 PM
integer constants used with string constants Eric Newton Microsoft Dot NET Framework 3 14th Jan 2004 05:05 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:46 AM.