初始化

This commit is contained in:
2025-11-21 08:48:01 +08:00
commit b4d684a84c
202 changed files with 28585 additions and 0 deletions

21
ClassLibrary2/Class1.cs Normal file
View File

@@ -0,0 +1,21 @@
using MemoryPack;
namespace ClassLibrary2
{
[MemoryPackable]
public partial class MMN
{
public string Name { get; set; }
public int Age { get; set; }
public string Description { get; set; }
public void SayHello()
{
Console.WriteLine("1111111111111111");
}
public int Add(int a, int b)
{
return a + b;
}
}
}

View File

@@ -0,0 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="MemoryPack" Version="1.21.4" />
</ItemGroup>
</Project>