chore: update to slnx and update to net 9.0 in LeetCodeSharp.
This commit is contained in:
		@@ -1,43 +0,0 @@
 | 
			
		||||
 | 
			
		||||
Microsoft Visual Studio Solution File, Format Version 12.00
 | 
			
		||||
# Visual Studio Version 17
 | 
			
		||||
VisualStudioVersion = 17.9.34607.119
 | 
			
		||||
MinimumVisualStudioVersion = 10.0.40219.1
 | 
			
		||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LeetCodeSharp", "LeetCodeSharp\LeetCodeSharp.csproj", "{EB1DDDC1-A2FC-4AAB-A21A-59FAAFF656DD}"
 | 
			
		||||
EndProject
 | 
			
		||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "LeetCodeSharp.Fetcher", "LeetCodeSharp.Fetcher\LeetCodeSharp.Fetcher.csproj", "{5D45BB2A-E512-4353-8746-6F0B79282C76}"
 | 
			
		||||
EndProject
 | 
			
		||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LeetCodeSharp.Tests", "LeetCodeSharp.Tests\LeetCodeSharp.Tests.csproj", "{97E271FD-7244-4DD2-982C-103DF1E92B7C}"
 | 
			
		||||
EndProject
 | 
			
		||||
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{1F55C3BE-2E8E-47CB-B46A-7B607A196BA1}"
 | 
			
		||||
	ProjectSection(SolutionItems) = preProject
 | 
			
		||||
		justfile = justfile
 | 
			
		||||
		README.md = README.md
 | 
			
		||||
	EndProjectSection
 | 
			
		||||
EndProject
 | 
			
		||||
Global
 | 
			
		||||
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 | 
			
		||||
		Debug|Any CPU = Debug|Any CPU
 | 
			
		||||
		Release|Any CPU = Release|Any CPU
 | 
			
		||||
	EndGlobalSection
 | 
			
		||||
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
 | 
			
		||||
		{EB1DDDC1-A2FC-4AAB-A21A-59FAAFF656DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 | 
			
		||||
		{EB1DDDC1-A2FC-4AAB-A21A-59FAAFF656DD}.Debug|Any CPU.Build.0 = Debug|Any CPU
 | 
			
		||||
		{EB1DDDC1-A2FC-4AAB-A21A-59FAAFF656DD}.Release|Any CPU.ActiveCfg = Release|Any CPU
 | 
			
		||||
		{EB1DDDC1-A2FC-4AAB-A21A-59FAAFF656DD}.Release|Any CPU.Build.0 = Release|Any CPU
 | 
			
		||||
		{5D45BB2A-E512-4353-8746-6F0B79282C76}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 | 
			
		||||
		{5D45BB2A-E512-4353-8746-6F0B79282C76}.Debug|Any CPU.Build.0 = Debug|Any CPU
 | 
			
		||||
		{5D45BB2A-E512-4353-8746-6F0B79282C76}.Release|Any CPU.ActiveCfg = Release|Any CPU
 | 
			
		||||
		{5D45BB2A-E512-4353-8746-6F0B79282C76}.Release|Any CPU.Build.0 = Release|Any CPU
 | 
			
		||||
		{97E271FD-7244-4DD2-982C-103DF1E92B7C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
 | 
			
		||||
		{97E271FD-7244-4DD2-982C-103DF1E92B7C}.Debug|Any CPU.Build.0 = Debug|Any CPU
 | 
			
		||||
		{97E271FD-7244-4DD2-982C-103DF1E92B7C}.Release|Any CPU.ActiveCfg = Release|Any CPU
 | 
			
		||||
		{97E271FD-7244-4DD2-982C-103DF1E92B7C}.Release|Any CPU.Build.0 = Release|Any CPU
 | 
			
		||||
	EndGlobalSection
 | 
			
		||||
	GlobalSection(SolutionProperties) = preSolution
 | 
			
		||||
		HideSolutionNode = FALSE
 | 
			
		||||
	EndGlobalSection
 | 
			
		||||
	GlobalSection(ExtensibilityGlobals) = postSolution
 | 
			
		||||
		SolutionGuid = {D28602CA-DA79-4D3C-A539-2FEB01BBEDA4}
 | 
			
		||||
	EndGlobalSection
 | 
			
		||||
EndGlobal
 | 
			
		||||
							
								
								
									
										9
									
								
								LeetCodeSharp.slnx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								LeetCodeSharp.slnx
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
<Solution>
 | 
			
		||||
  <Folder Name="/Solution Items/">
 | 
			
		||||
    <File Path="justfile" />
 | 
			
		||||
    <File Path="README.md" />
 | 
			
		||||
  </Folder>
 | 
			
		||||
  <Project Path="LeetCodeSharp.Fetcher/LeetCodeSharp.Fetcher.csproj" />
 | 
			
		||||
  <Project Path="LeetCodeSharp.Tests/LeetCodeSharp.Tests.csproj" />
 | 
			
		||||
  <Project Path="LeetCodeSharp/LeetCodeSharp.csproj" />
 | 
			
		||||
</Solution>
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
<Project Sdk="Microsoft.NET.Sdk">
 | 
			
		||||
 | 
			
		||||
	<PropertyGroup>
 | 
			
		||||
		<TargetFramework>netstandard2.1</TargetFramework>
 | 
			
		||||
		<TargetFramework>net9.0</TargetFramework>
 | 
			
		||||
		<ImplicitUsings>disable</ImplicitUsings>
 | 
			
		||||
		<Nullable>disable</Nullable>
 | 
			
		||||
	</PropertyGroup>
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@ namespace LeetCodeSharp.Problems2296
 | 
			
		||||
 | 
			
		||||
    public class TextEditor
 | 
			
		||||
    {
 | 
			
		||||
        private readonly LinkedList<char> _text = new LinkedList<char>();
 | 
			
		||||
        private readonly LinkedList<char> _text = new();
 | 
			
		||||
 | 
			
		||||
        // 让游标就是光标左边的字符
 | 
			
		||||
        private LinkedListNode<char> _cursor;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user