Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace DataTypeConversionApp
- {
- class Program
- {
- static void Main(string[] args)
- {
- long l = 1000000;
- int i = 100;
- l = i;
- i = Convert.ToInt32(l);
- char c = 'a';
- i = c;
- double d = 150.25;
- Console.WriteLine(i);
- Console.ReadKey();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement