c#
Code
# Code
```csharp []
public class Solution {
    public int ReverseDegree(string s) {
        var arr = new int[26];
        var val = 26;
        var rs = 0;
        for(var i = 0; i < arr.Length; i++){
            arr[i] = val;
            val--;
        }
        for(var i = 0; i < s.Length; i++){
            rs += arr[s[i] - 'a'] * (i + 1);
        }
        return rs;
    }
}
```
['C#']