Approach:

Find the logarithm of the number. If it is a decimal, the original number is not a power of four.

Here is the solution in C#.

```
public class Solution {
public bool IsPowerOfFour(int num) {
double logr=Math.Log(num,4);
return (logr%1==0);
}
}
```