Kyoung,
But that's not the case here. The compiler is actually going to
concatenate this at compile-time into one string.
--
- Nicholas Paldino [.NET/C# MVP]
-
mvp@spam.guard.caspershouse.com
"Kyong Kwak" <kyongkwak@nospam.nospam> wrote in message
news:7bf54e65111448c7d293fcdf91ea@news.microsoft.c om...[color=blue][color=green]
>> Hello, Is this code efficient?
>>
>> public static string HTML_FASE1_OTROS_GENERAL =
>> " <table id='tFase1' cellspacing='0' cellpadding='0' width='800' >" +
>> " <tr>" +
>> " <td width='15'></td>" +
>> " <td width='750'><br>" +
>> ............
>> Thanks
>>[/color]
>
> no.. you'll want to use a string builder or
>
> public static string HTML_FASE1_OTROS_GENERAL = @" <table id='tFase1'
> cellspacing='0' cellpadding='0' width='800' >
> <tr>
> <td width='15'></td>
> <td width='750'><br>" ;
>
> something like that.. that way the you don't create multiple instances of
> string.. and waste memory..
>
>[/color]