Initializing Arrays


if create string array should initialize whit string.empty or there not performance , memory issues if dont initialize it?

 

kenny

 kymaita wrote:

if create string array should initialize whit string.empty 

only if  that's waht want values be, , you're not happy default value (null).

 kymaita wrote:

or there not performance , memory issues if dont initialize it?

explicitly initializing elements slower not doing so.

 



.NET Framework  >  Common Language Runtime Internals and Architecture



Comments

Popular posts from this blog

SQL Server 2008 - High Memory Usage

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

Problem In Configuring Biztalk 2009 In Creating A ReceivePort.When I Try To Create A Receive POrt I Got This Error