Posts by Cesar Bourdain Costa • 117 points
2 posts
-
-1
votes2
answers173
viewsA: How to Consume Less Memory in C#Runtime?
Using Static is the worst thing you can do in terms of memory. By using Static you are telling the server that this variable is always available in memory because it starts as soon as the program…
-
1
votes2
answers51
viewsA: Set Dictionary to constant
For these cases I usually use an Enum, because it is, in a certain way, a constant dictionary. But anyway you can use readonly so that it is only written in the constructor and not elsewhere.…
c#answered Cesar Bourdain Costa 117