Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: PlausiblyDamp
Forum: .NET Communications 12-03-2014, 02:57 AM
Replies: 6
Views: 1,974
Posted By PlausiblyDamp
Being Shared doesn't affect where the variable is...

Being Shared doesn't affect where the variable is stored, is simply alters the lifetime of the variable.

If a class level variable is Shared then only a single copy exists in memory and this copy...
Forum: .NET Communications 12-01-2014, 06:07 AM
Replies: 6
Views: 1,974
Posted By PlausiblyDamp
Every time you go through the loop it will be...

Every time you go through the loop it will be creating a new instance of the FleetOfCars class, however because the variable is defined outside of the loop it will not be destroyed just because the...
Showing results 1 to 2 of 2

 
Forum Jump
Advertisement:



Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe