StackOverflow Questions for Tag: automatic-properties

bentford
bentford

Reputation: 33406

What is the best way to give a C# auto-property an initial value?

Score: 2340

Views: 1290913

Answers: 23

Read More
Luke De Feo
Luke De Feo

Reputation: 2165

How to set value of property where there is no setter

Score: 25

Views: 32232

Answers: 6

Read More
Ian Marteens
Ian Marteens

Reputation: 129

.NET 8 not inline read-only auto-properties

Score: 0

Views: 51

Answers: 0

Read More
user3163495
user3163495

Reputation: 3518

Can I define a custom getter for a C# auto-implemented property (a.k.a. auto backing field)?

Score: 1

Views: 3136

Answers: 3

Read More
I. J. Kennedy
I. J. Kennedy

Reputation: 25799

Public Fields versus Automatic Properties

Score: 413

Views: 90732

Answers: 15

Read More
adekcz
adekcz

Reputation: 410

C# autoproperty vs normal fields

Score: 6

Views: 1956

Answers: 5

Read More
GRamon
GRamon

Reputation: 87

Identification of automatically generated move assignment operator

Score: 0

Views: 164

Answers: 0

Read More
Jonathan Parker
Jonathan Parker

Reputation: 6795

Do you think "auto interface implementation" would be useful in .NET / C#

Score: 5

Views: 2058

Answers: 9

Read More
08Dc91wk
08Dc91wk

Reputation: 4318

C# 6 auto-properties - read once or every time?

Score: 13

Views: 3894

Answers: 5

Read More
user259286
user259286

Reputation: 1005

How to initialize auto-property to not null in C#?

Score: 9

Views: 10059

Answers: 8

Read More
JuniorDeveloper1208
JuniorDeveloper1208

Reputation: 458

C# - Difference between Automatic Property and returning a backing field?

Score: 3

Views: 3874

Answers: 5

Read More
Lnio Yarschov
Lnio Yarschov

Reputation: 19

How would I invoke setter when modifying properties in C#?

Score: 0

Views: 80

Answers: 0

Read More
user22168531
user22168531

Reputation: 5

Assign macro to shape, stop automatic updating

Score: -1

Views: 103

Answers: 1

Read More
user22168531
user22168531

Reputation: 5

Automatically update cells

Score: 0

Views: 106

Answers: 2

Read More
chuftica
chuftica

Reputation: 177

Config.GetSection<T> with invalid class property names

Score: 2

Views: 477

Answers: 1

Read More
ctorx
ctorx

Reputation: 6931

C# Lazy Loaded Automatic Properties

Score: 127

Views: 72793

Answers: 14

Read More
Authman Apatira
Authman Apatira

Reputation: 4054

Objective-C multiple declarations of instance variables / properties

Score: 2

Views: 677

Answers: 2

Read More
alelom
alelom

Reputation: 2983

Object fingerprinting: serialization + untouchable legacy code + Getter-only auto-properties = cornered?

Score: -1

Views: 570

Answers: 2

Read More
xaraj yawell
xaraj yawell

Reputation: 3

A method to use a formula if , and if not to tip a value manual inside, without VBA Excel

Score: 0

Views: 33

Answers: 0

Read More
user705414
user705414

Reputation: 21200

Do we need to lock when we get the property in C#

Score: 3

Views: 1421

Answers: 4

Read More
PreviousPage 1Next