Top "Size" questions

Size in computing can refer to various dimensions: size in bits, in bytes, in pixels, in memory, in disk space, etc.

How to get the size of the current screen in WPF?

I know I can get the size of the primary screen by using System.Windows.SystemParameters.PrimaryScreenWidth; System.Windows.SystemParameters.…

c# wpf xaml size screen
Automatically size JPanel inside JFrame

I have a JPanel subclass on which I add buttons, labels, tables, etc. To show on screen it I use …

java swing size jframe jpanel
How can I initialize an array without knowing it size?

I have a situation, where I have to apply a criteria on an input array and reuturn another array as …

java arrays arraylist size variable-length-array
creating array without declaring the size - java

i've digging around about the same issue but i couldn't find the same as i had i want to create …

java arrays size declare
How can I fix the form size in a C# Windows Forms application and not to let user change its size?

How can I fix the form size in a C# Windows Forms application and not to let user change its …

c# .net winforms size fixed
Difference between long and int data types

Considering that the following statements return 4, what is the difference between the int and long types in C++? sizeof(int) …

c++ types integer size
How many bytes in a JavaScript string?

I have a javascript string which is about 500K when being sent from the server in UTF-8. How can I …

javascript string size byte
How can I get the size of an std::vector as an int?

I tried: #include <vector> int main () { std::vector<int> v; int size = v.size; } but got …

c++ vector size constants unsigned-integer
How to load specific image from assets with Swift

I'm new to Swift and I want to load a special image from assets. For example I have: image 1 for …

ios image swift size assets
increase the java heap size permanently?

Is there a way that I can set the default heap size for the jvm on my own computer? I …

java size heap jvm-arguments