© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
6 replies
Grimson

✅ Use of Unassigned local variable?

Hi, I am solving the advent of coding challenges for practice for uni and I have already finished the problem and now I am trying to optimize code. However, I I can't seem to figure out why I am getting use of unassigned local variable when I try to cache the results in a dictionary. I have already initialized the dictionary, so I don't know what the issue is. Can anyone help please? The problem is in program.cs file. URL : https://github.com/AnmolSinha1201/Orbit
GitHub
GitHub - AnmolSinha1201/Orbit
Contribute to AnmolSinha1201/Orbit development by creating an account on GitHub.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Use of unassigned local variable
C#CC# / help
4y ago
Varriable Unassigned (begginer help) [Answered]
C#CC# / help
4y ago
❔ Use Variable as Type
C#CC# / help
3y ago