© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
51 replies
Masmoudi

dictionary problem

// using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Metoder_uppgift_41
{
    class Program
    {
        static void Main(string[] args)
        {
            Dictionary<string, int> NumberTag = new Dictionary<string, int>();
            NumberTag.Add("endre", 911);

            int value = NumberTag.Get("endre");
        }
    }
}
// using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Metoder_uppgift_41
{
    class Program
    {
        static void Main(string[] args)
        {
            Dictionary<string, int> NumberTag = new Dictionary<string, int>();
            NumberTag.Add("endre", 911);

            int value = NumberTag.Get("endre");
        }
    }
}
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

❔ C# Dictionary Json Serialization problems
C#CC# / help
4y ago
Dictionary translation
C#CC# / help
2y ago
❔ 2D Dictionary
C#CC# / help
3y ago
Next page