Hi Friends,i simple want to know how the variable of vb.net is kept in heap area of RAM .
each number will treat one byte . as i found somewhere long takes eight byte.so how it is arranged
in Heap area of RAM ?.
![Name: BasicQuestion.jpg
Views: 95
Size: 37.2 KB]()
each number will treat one byte . as i found somewhere long takes eight byte.so how it is arranged
in Heap area of RAM ?.
Code:
Public Class Form1
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim X As Long
X = Long.MaxValue
MessageBox.Show(X, "TEST", MessageBoxButtons.OK)
End Sub
End Class