2
Answers

Creating objects

Munish Kumar

Munish Kumar

1y
755
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)