StackOverflow Questions for Tag: static-classes

Kraken
Kraken

Reputation: 24243

What is a "static class" in Java?

Score: 1176

Views: 1151337

Answers: 16

Read More
George
George

Reputation: 2213

Execution sequence for a module constructor in a web application for VB.NET

Score: 0

Views: 599

Answers: 1

Read More
Guillermo Oramas R.
Guillermo Oramas R.

Reputation: 1303

Unit testing a static class (Theoretical Question)

Score: 0

Views: 152

Answers: 1

Read More
Vitalii Isaenko
Vitalii Isaenko

Reputation: 999

Access to HttpContext via static class works "correctly" with different requests

Score: 4

Views: 8262

Answers: 2

Read More
AXOLOTsh
AXOLOTsh

Reputation: 25

Convert JsonElement to property type

Score: 1

Views: 76

Answers: 1

Read More
javad rabbani
javad rabbani

Reputation: 35

What is best practice to have a helper class in ASP.NET Core that can be used in all views?

Score: 1

Views: 239

Answers: 1

Read More
desmondische
desmondische

Reputation: 266

Why use struct to hold constants, and not a static class?

Score: 1

Views: 91

Answers: 2

Read More
JohnC
JohnC

Reputation: 4158

ASP.NET Core Web API Logging from a Static Class

Score: 71

Views: 66005

Answers: 7

Read More
andrewrk
andrewrk

Reputation: 31182

How do you create a static class?

Score: 317

Views: 607722

Answers: 15

Read More
user21749640
user21749640

Reputation: 298

Serializing static inner classes java

Score: 0

Views: 75

Answers: 1

Read More
Ponsietta
Ponsietta

Reputation: 319

Can creating and returning a disposable object from a static class method cause memory leaks?

Score: 0

Views: 170

Answers: 1

Read More
Dominique
Dominique

Reputation: 17565

How to deal with wrong appSettings in a static class?

Score: 2

Views: 296

Answers: 1

Read More
davidalayachew
davidalayachew

Reputation: 1055

My static method can't find my static inner class' static inner class

Score: -1

Views: 260

Answers: 1

Read More
JDx
JDx

Reputation: 2655

Why is a static class illegal in Java?

Score: 37

Views: 92863

Answers: 9

Read More
Victor Zakharov
Victor Zakharov

Reputation: 26454

Variables in a Javascript module visible outside of it?

Score: 9

Views: 17700

Answers: 2

Read More
Lakshya Bansal
Lakshya Bansal

Reputation: 1

Where are the inner static classes are stored in new Java versions?

Score: -1

Views: 45

Answers: 1

Read More
Sam F
Sam F

Reputation: 1

Referencing a static class in a key-value pair

Score: 0

Views: 147

Answers: 1

Read More
Steve Cross
Steve Cross

Reputation: 95

How can I initialize a repository in a static class?

Score: 0

Views: 211

Answers: 1

Read More
skm
skm

Reputation: 5679

Function in a static C# class that can return the values of all of its public member variables

Score: -6

Views: 342

Answers: 1

Read More
T.G
T.G

Reputation: 1931

@Autowired in static classes

Score: 37

Views: 77314

Answers: 5

Read More
PreviousPage 1Next