We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fe516a commit 436dd05Copy full SHA for 436dd05
Roadmap/31 - SIMULADOR JUEGOS OLÍMPICOS/c#/deathwing696.cs
@@ -121,7 +121,7 @@ public void ShowMedalReport()
121
122
public class Olimpiadas
123
{
124
- private static readonly Olimpiadas instance;
+ private static Olimpiadas instance;
125
private List<Evento> events;
126
private Dictionary<string, int> countryRanking;
127
@@ -139,9 +139,9 @@ public static Olimpiadas Instance
139
get
140
141
if (instance == null)
142
- return new Olimpiadas();
143
- else
144
- return instance;
+ instance = new Olimpiadas();
+
+ return instance;
145
}
146
147
0 commit comments