C# Solution || Easy Solution
csharp []\npublic class Solution {\n    public string GetSmallestString(string s, int k) {\n        var arr = s.ToCharArray();\n        for(int i = 0;i < arr.Le
```csharp []\npublic class Solution {\n    public string GetSmallestString(string s, int k) {\n        var arr = s.ToCharArray();\n        for(int i = 0;i < arr.Length && k > 0;i++){\n            int diff = arr[i] - \'a\';\n            int opDiff = 26 - diff;\n            if(opDiff < diff && opDiff <= k){\n                arr[i] = \'a\';\n                k-= Math.Min(k,opDiff);\n            }else{\n                arr[i] = (char)(arr[i] - Math.Min(k,diff));\n                k-= Math.Min(k,diff);\n            }\n        }\n        return new string(arr);\n    }\n}\n```
['C#']