Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Program{
- public static void Main(){
- long min = Int64.MinValue;
- for (int i=63; i>=0; i--) {
- Console.Write((min>>i) & 0x01);
- }
- Console.WriteLine();
- Console.WriteLine(min);
- Console.WriteLine();
- long max = Int64.MaxValue;
- for (int i=63; i>=0; i--) {
- Console.Write((max>>i) & 0x01);
- }
- Console.WriteLine();
- Console.WriteLine(max);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement