C#:实现找到一个大于或等于n且为2的幂的数字p 以下是C#实现一个大于或等于n且为2的幂的数字p的源代码: public static int GetNextPowerOfTwo(int n) { int p = 1; while (p