c# Very Simple Solution
\n\n    public IList> GroupAnagrams(string[] strs) {\n            Dictionary> dic = new Dictionary>();\n            for (int i = 0; i < strs.Length; i++)\n     
\n\n    public IList<IList<string>> GroupAnagrams(string[] strs) {\n            Dictionary<string, IList<string>> dic = new Dictionary<string, IList<string>>();\n            for (int i = 0; i < strs.Length; i++)\n            {\n                char[] arr=strs[i].ToCharArray();\n                Array.Sort(arr);\n                string sorted=new string(arr);\n                if(dic.ContainsKey(sorted))\n                {\n                    dic[sorted].Add(strs[i]);\n                }\n                else\n                {\n                    dic.Add(sorted, new List<string>() {strs[i]});\n                }\n            }\n            var result= dic.Values.ToList();\n            return result;        \n    }
['C#']