CSCI 1205 Intro to Programming c# - syllabus
Homework Chapter 3
Write a C# program to use the sizeof() method and fill in the following table
Data Type -- |
-- Size (bytes) |
int | _________ |
uint | _________ |
float | _________ |
double | _________ |
decimal | _________ |
You may use the Hello World Console application and add either of the following lines:
WriteLine("Size of int is " + sizeof(int) + " bytes");
WriteLine("Size of int is {0} bytes", sizeof(int));
Copyright 2018 RPP TRAINING. all rights reserved. |