2
Answers

Creating objects

Photo of Munish Kumar

Munish Kumar

2y
872
1

Hello everyone,

can someone help me to understand the difference between the below code:

1. protected static PortalParametersContext Context { get; } = new PortalParametersContext();

2. protected static PortalParametersContext Context = new PortalParametersContext();

where PortalParametersContext is class.

 

Thanks

Answers (2)