using System; using System.Collections.Generic; namespace CryptoFactoryLogin { class Program { static void Main(string[] args) { // Simulate a user database Dictionary users = new Dictionary() { { "activationKey1", "user1" }, { "activationKey2", "user2" }, { "activationKey3", "user3" } }; Console.WriteLine("CryptoFactory"); Console.Write("Enter your activation key: "); string activationKey = Console.ReadLine(); if (users.ContainsKey(activationKey)) { Console.WriteLine($"Welcome, {users[activationKey]}!"); } else { Console.WriteLine("Invalid activation key."); } Console.ReadKey(); } } }