начало 2906
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net10.0</TargetFramework>
|
||||||
|
<RootNamespace>_2906._Construct_Product_Matrix</RootNamespace>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
2
2906. Construct Product Matrix/Program.cs
Normal file
2
2906. Construct Product Matrix/Program.cs
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
// See https://aka.ms/new-console-template for more information
|
||||||
|
Console.WriteLine("Hello, World!");
|
||||||
14
Leetcode.sln
14
Leetcode.sln
@@ -179,6 +179,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "5. Longest Palindromic Subs
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "10. Regular Expression Matching", "10. Regular Expression Matching\10. Regular Expression Matching.csproj", "{0A6CECBE-AD75-4829-AAB2-D6D29EEECEB5}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "10. Regular Expression Matching", "10. Regular Expression Matching\10. Regular Expression Matching.csproj", "{0A6CECBE-AD75-4829-AAB2-D6D29EEECEB5}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "2906. Construct Product Matrix", "2906. Construct Product Matrix\2906. Construct Product Matrix.csproj", "{D4E00D31-9A2A-402F-AF77-E4B7DB8182C9}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
@@ -1245,6 +1247,18 @@ Global
|
|||||||
{0A6CECBE-AD75-4829-AAB2-D6D29EEECEB5}.Release|x64.Build.0 = Release|Any CPU
|
{0A6CECBE-AD75-4829-AAB2-D6D29EEECEB5}.Release|x64.Build.0 = Release|Any CPU
|
||||||
{0A6CECBE-AD75-4829-AAB2-D6D29EEECEB5}.Release|x86.ActiveCfg = Release|Any CPU
|
{0A6CECBE-AD75-4829-AAB2-D6D29EEECEB5}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
{0A6CECBE-AD75-4829-AAB2-D6D29EEECEB5}.Release|x86.Build.0 = Release|Any CPU
|
{0A6CECBE-AD75-4829-AAB2-D6D29EEECEB5}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{D4E00D31-9A2A-402F-AF77-E4B7DB8182C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{D4E00D31-9A2A-402F-AF77-E4B7DB8182C9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{D4E00D31-9A2A-402F-AF77-E4B7DB8182C9}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{D4E00D31-9A2A-402F-AF77-E4B7DB8182C9}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{D4E00D31-9A2A-402F-AF77-E4B7DB8182C9}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{D4E00D31-9A2A-402F-AF77-E4B7DB8182C9}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{D4E00D31-9A2A-402F-AF77-E4B7DB8182C9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{D4E00D31-9A2A-402F-AF77-E4B7DB8182C9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{D4E00D31-9A2A-402F-AF77-E4B7DB8182C9}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{D4E00D31-9A2A-402F-AF77-E4B7DB8182C9}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{D4E00D31-9A2A-402F-AF77-E4B7DB8182C9}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{D4E00D31-9A2A-402F-AF77-E4B7DB8182C9}.Release|x86.Build.0 = Release|Any CPU
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|||||||
22
create_project.sh
Normal file
22
create_project.sh
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
if [[ $# -lt 1 ]]; then
|
||||||
|
echo "Usage: $0 \"Project Name\""
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
project_name="$1"
|
||||||
|
|
||||||
|
if [[ -z "$project_name" ]]; then
|
||||||
|
echo "Project name cannot be empty"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ -d "$project_name" ]]; then
|
||||||
|
echo "Directory already exists: $project_name"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
dotnet new console -n "$project_name"
|
||||||
|
dotnet sln add "$project_name"
|
||||||
Reference in New Issue
Block a user