Search
Get Started
C
C#
•
3mo ago
WizzyWodich
Primary Constructor
How good is it to use Primary Constructor
?
public class EfUserRepository(AppDbContext appDbContext) : IUserRepository
public class EfUserRepository(AppDbContext appDbContext) : IUserRepository
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,010
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
public
class
EfUserRepository
(
AppDbContext
appDbContext
) :
IUserRepository
public
class
EfUserRepository
(
AppDbContext
appDbContext
) :
IUserRepository
Similar Threads
`required` vs primary constructor
C
C# / help
7mo ago
primary constructor naming convention
C
C# / help
2y ago
Converting the simple constructor to primary constructor
C
C# / help
3y ago
Default parameter values in primary constructor
C
C# / help
2y ago
Next page