Skip to content

Instantly share code, notes, and snippets.

@MKGAURAB
Forked from davidfowl/Example1.cs
Created July 14, 2020 09:34
Show Gist options
  • Select an option

  • Save MKGAURAB/b0ce03030363930e1ba4aeafe6f6032e to your computer and use it in GitHub Desktop.

Select an option

Save MKGAURAB/b0ce03030363930e1ba4aeafe6f6032e to your computer and use it in GitHub Desktop.
How .NET Standard relates to .NET Platforms
namespace Analogy
{
interface INetStandard10
{
void Primitives();
void Reflection();
void Tasks();
void Xml();
void Collections();
void Linq();
}
interface INetStandard11 : INetStandard10
{
void ConcurrentCollections();
void LinqParallel();
void Compression();
}
interface INetStandard12 : INetStandard11
{
void ThreadingTimer();
}
interface INetStandard13 : INetStandard12
{
void FileSystem();
void Console();
void ThreadPool();
void Crypto();
void WebSockets();
void Process();
}
// .NET Framework
interface INetFramework45 : INetStandard11
{
void FileSystem();
void Console();
void ThreadPool();
void Crypto();
void WebSockets();
void Process();
new void Primitives();
new void Reflection();
new void Tasks();
new void Xml();
new void Collections();
new void Linq();
new void ConcurrentCollections();
new void LinqParallel();
new void Compression();
}
interface INetFramework451 : INetFramework45, INetStandard12
{
}
interface INetFramework452 : INetFramework451, INetStandard12
{
}
interface INetFramework46 : INetFramework452, INetStandard13
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment