Jump to content
Tuts 4 You

use required modifier on other framework?


Hadits follower

Recommended Posts

The older versions of .NET have been discontinued in favor of moving foward with a unified platform instead. 

  - .NET Framework - Last release was 4.8.1. (Discontinued, end of life is not yet announced, but Microsoft encourages moving to the newer .NET platform.)
  - .NET Core - Last release was 3.1. (Discontinued and ended life on Dec 2022.)
  - .NET Standard - Last release was 2.1. (Still supported, but feature locked to C# 8. If you need C# 9 or newer features, you need to switch to the newer .NET platform.)

The 'required' modifier was added in C# 11, which means that you need to target the new .NET 7.0 or newer in order to make use of it. Microsoft does not have any official plans to back-support older .NET projects with the newer language version/feature set. Their goal is to fully deprecate the older frameworks/projects in favor of the new uniformed .NET, which is cross-platform.

Link to comment
jackyjask

Well, as far as I see .NET Framework will have much longer life then any other FW:

at least from my experience if I work on 10 .net apps, 9 ouf of 10 would be based on .NET Framework, not any other modern ones...

image.png.109207579da02ae90912deba9b95ac74.png

Link to comment
Hadits follower

@jackyjask its not "longer life" => longer time , 

@atom0s thanks but may be their goal is make dotnet framework as opensource , 

 

 

requared member is a good thing , we dont need to make a constructor 

Link to comment

The .NET frameworks and other managed projects have been made open source over the last handful of years. Almost all of C# and other Microsoft-based managed languages are open source and maintained on GitHub.

You can find those repos here: https://github.com/dotnet

Link to comment
Hadits follower

may be not dotnet framework . all source u see is .net [updated .net framework]  . 

but we can see dotnet framework source in microsoft site => thats not full , thats just decompilled with any decompiler 

.net framework download client download speed and .net client download speed lot differences .

i was created a issue about it 

https://github.com/dotnet/runtime/issues/75203

 

Link to comment

The new .NET source code can be found on GitHub here: https://github.com/dotnet/runtime
Additional modules and such like WPF are in their own separate repositories under the 'dotnet' group.

As for .NET Framework itself, you can find the source code for that on the resource material site here: https://referencesource.microsoft.com/

You can click the 'Download' button at the top-right and select to download the entire codebase for a given version if you need to look at a specific one. (As the site notes, it is the full source with resources stripped out so it won't compile as-is. But it is the source code.)

 

Edit to ask: Is there something specific you are looking for within the source that may be easier for us to help you with in general.

Edited by atom0s
Link to comment
Hadits follower

"""""""""""""As for .NET Framework itself, you can find the source code for that on the resource material site here: https://referencesource.microsoft.com/""""""""""""""

i told u already ,

we can see dotnet framework source in microsoft site => ""https://referencesource.microsoft.com/""" => thats not full , thats just decompilled with any decompiler / take the symbol folder and most of decompiler extract resources , 

some people just pick the symbol folder/uses decompiler and posted there => 

you also can have these sources automatic with vs studio/any c# studio, when u debug ur project u can see those project in symbol folder/ " https://referencesource.microsoft.com/".

 

you can open the .sln and u will see tooo many namespace emty and too many namespace decompilled failed 

 

only .net is open source rest all framework, uap e.t.c is not open source 

Link to comment

I am not seeing the same thing as you are when looking at the source code from the reference site. I do not see a single file that mentions anything related to being decompiled, or failing to decompile. 

If there is something specific you are looking for, please state what that is.

Link to comment
Hadits follower

sorry to say that => u and i just wasting our time reasonless , talking about something which is just wasting your time and my time , i posted the thread to have the modifier in other framework , if you dont know anything about it u should not reply to waste ur time and waste my time ,  

 

"If there is something specific you are looking for, please state what that is."" ?? i am nothing looking for from there actually , i just said thats just useless dump source code  ,

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...