Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace DeathWish
- {
- internal static class Redll
- {
- public static void Add<T, T2>(this IDictionary<T, T2> dict, T key, T2 value)
- {
- if (dict == null) throw new ArgumentNullException(nameof(dict));
- dict[key] = value;
- }
- public static void Remove<T, T2>(this IDictionary<T, T2> dict, T key)
- {
- if (dict == null) throw new ArgumentNullException(nameof(dict));
- dict.Remove(key);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement