Top "Readonly" questions

Read-only is a generic concept that means "not writeable" - Please DO NOT USE THIS TAG.

Why Tuple's items are ReadOnly?

I was thinking to use Tuple class to store 2 integer information (StartAddress, EndAddress) I need in my program. But I …

.net .net-4.0 readonly tuples
Read-Only properties

I need help with "read-only" in swift. I tried various ways, but simply couldn't figure out how to compile it …

swift readonly
Immutable numpy array?

Is there a simple way to create an immutable NumPy array? If one has to derive a class from ndarray …

python arrays numpy immutability readonly
Is read-only auto-implemented property possible?

I found a topic on MSDN that talks that yes, this is possible. I did a test that seems to …

c# .net properties msdn readonly
"Read only" Property Accessor in C#

I have the following class: class SampleClass { private ArrayList mMyList; SampleClass() { // Initialize mMyList } public ArrayList MyList { get { return mMyList;} } } I …

c# .net properties readonly accessor
Readonly ComboBox in WinForms

I'm writing a GUI in C#, Visual Studio 2008, using the Designer and WinForms. I've got a ComboBox control, and I'd …

c# winforms combobox readonly
How to make a QLineEdit not editable in Windows

I'm using Qt 5.2 and I would like to make a QLineEdit not editable. The problem with this is, that it …

c++ qt readonly qlineedit
GCC: why constant variables not placed in .rodata

I've always believed that GCC would place a static const variable to .rodata segments (or to .text segments for optimizations) …

c memory gcc constants readonly
What is a read only collection?

I ran a security code analyst i found myself having a CA2105 warning. I looked at the grade tampering example. …

c# wcf readonly readonly-collection
Spring - Transaction Readonly

Just wanted your expert opinions on declarative transaction management for Spring. Here is my setup: DAO layer is plain old …

java spring transactions readonly