Constants or resources

  • Thread starter Thread starter DBC User
  • Start date Start date
D

DBC User

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.
 
Hi,

I think that the resousrce have more over head than a direct string
declared in the code.
 
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.
 
Hi,



DBC User said:
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 :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top