## C# Program to Find Whether a Given Number is Power of 2 using Bitwise Operators

This is a C# Program to find power of 2 using bitwise operator. Problem Description This C# Program Finds Power of 2 using Bitwise Operator. Problem Solution Here Operations on bits at individual levels can be carried out using Bitwise operations and the whole representation of a number is considered while applying a bitwise operator. … Read more

## C# Program to Multiply Number by 4 using Bitwise Operators

This is a C# Program to multiply given number by 4 using bitwise operators. Problem Description This C# Program Multiplies given Number by 4 using Bitwise Operators. Problem Solution Here The bitwise operators are or, and, xor, not, left shift, right shift. Program uses left shift operator for this. Program/Source Code Here is source code … Read more

## C# Program to Swap Two Numbers using Bitwise XOR Operation

This is a C# Program to swap the contents of two numbers using bitwise xor operation. Problem Description This C# Program Swaps the Contents of two Numbers using Bitwise XOR Operation. Problem Solution Take two inputs from the user and perform Bitwise XOR Operation as shown in the program below. Program/Source Code Here is source … Read more

## C# Program to Check whether the Given Integer has an Alternate Pattern

This is a C# Program to check whether the given integer has an alternate pattern. Problem Description This C# Program Checks whether the given Integer has an Alternate Pattern. Problem Solution Take input from the user and check for alternate pattern as shown in the program below. Program/Source Code Here is source code of the … Read more 