Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5635a07

Browse files
committed
Add Skills project with Members class and Sumar function
1 parent 092e9af commit 5635a07

File tree

4 files changed

+95
-22
lines changed

4 files changed

+95
-22
lines changed

‎code/MasteringCopilot.sln

Lines changed: 48 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,48 @@
1-
2-
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 17
4-
VisualStudioVersion = 17.0.31903.59
5-
MinimumVisualStudioVersion = 10.0.40219.1
6-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MiniGame", "MiniGame\MiniGame.csproj", "{ED8CF238-896C-4DD4-89B7-B9FF7232A3FE}"
7-
EndProject
8-
Global
9-
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10-
Debug|Any CPU = Debug|Any CPU
11-
Release|Any CPU = Release|Any CPU
12-
EndGlobalSection
13-
GlobalSection(SolutionProperties) = preSolution
14-
HideSolutionNode = FALSE
15-
EndGlobalSection
16-
GlobalSection(ProjectConfigurationPlatforms) = postSolution
17-
{ED8CF238-896C-4DD4-89B7-B9FF7232A3FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
18-
{ED8CF238-896C-4DD4-89B7-B9FF7232A3FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
19-
{ED8CF238-896C-4DD4-89B7-B9FF7232A3FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
20-
{ED8CF238-896C-4DD4-89B7-B9FF7232A3FE}.Release|Any CPU.Build.0 = Release|Any CPU
21-
EndGlobalSection
22-
EndGlobal
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.0.31903.59
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MiniGame", "MiniGame\MiniGame.csproj", "{ED8CF238-896C-4DD4-89B7-B9FF7232A3FE}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Skills", "Skills\Skills.csproj", "{EB144C64-CA7A-487E-B540-9D7A9AB4306C}"
9+
EndProject
10+
Global
11+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
12+
Debug|Any CPU = Debug|Any CPU
13+
Debug|x64 = Debug|x64
14+
Debug|x86 = Debug|x86
15+
Release|Any CPU = Release|Any CPU
16+
Release|x64 = Release|x64
17+
Release|x86 = Release|x86
18+
EndGlobalSection
19+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
20+
{ED8CF238-896C-4DD4-89B7-B9FF7232A3FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21+
{ED8CF238-896C-4DD4-89B7-B9FF7232A3FE}.Debug|Any CPU.Build.0 = Debug|Any CPU
22+
{ED8CF238-896C-4DD4-89B7-B9FF7232A3FE}.Debug|x64.ActiveCfg = Debug|Any CPU
23+
{ED8CF238-896C-4DD4-89B7-B9FF7232A3FE}.Debug|x64.Build.0 = Debug|Any CPU
24+
{ED8CF238-896C-4DD4-89B7-B9FF7232A3FE}.Debug|x86.ActiveCfg = Debug|Any CPU
25+
{ED8CF238-896C-4DD4-89B7-B9FF7232A3FE}.Debug|x86.Build.0 = Debug|Any CPU
26+
{ED8CF238-896C-4DD4-89B7-B9FF7232A3FE}.Release|Any CPU.ActiveCfg = Release|Any CPU
27+
{ED8CF238-896C-4DD4-89B7-B9FF7232A3FE}.Release|Any CPU.Build.0 = Release|Any CPU
28+
{ED8CF238-896C-4DD4-89B7-B9FF7232A3FE}.Release|x64.ActiveCfg = Release|Any CPU
29+
{ED8CF238-896C-4DD4-89B7-B9FF7232A3FE}.Release|x64.Build.0 = Release|Any CPU
30+
{ED8CF238-896C-4DD4-89B7-B9FF7232A3FE}.Release|x86.ActiveCfg = Release|Any CPU
31+
{ED8CF238-896C-4DD4-89B7-B9FF7232A3FE}.Release|x86.Build.0 = Release|Any CPU
32+
{EB144C64-CA7A-487E-B540-9D7A9AB4306C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
33+
{EB144C64-CA7A-487E-B540-9D7A9AB4306C}.Debug|Any CPU.Build.0 = Debug|Any CPU
34+
{EB144C64-CA7A-487E-B540-9D7A9AB4306C}.Debug|x64.ActiveCfg = Debug|Any CPU
35+
{EB144C64-CA7A-487E-B540-9D7A9AB4306C}.Debug|x64.Build.0 = Debug|Any CPU
36+
{EB144C64-CA7A-487E-B540-9D7A9AB4306C}.Debug|x86.ActiveCfg = Debug|Any CPU
37+
{EB144C64-CA7A-487E-B540-9D7A9AB4306C}.Debug|x86.Build.0 = Debug|Any CPU
38+
{EB144C64-CA7A-487E-B540-9D7A9AB4306C}.Release|Any CPU.ActiveCfg = Release|Any CPU
39+
{EB144C64-CA7A-487E-B540-9D7A9AB4306C}.Release|Any CPU.Build.0 = Release|Any CPU
40+
{EB144C64-CA7A-487E-B540-9D7A9AB4306C}.Release|x64.ActiveCfg = Release|Any CPU
41+
{EB144C64-CA7A-487E-B540-9D7A9AB4306C}.Release|x64.Build.0 = Release|Any CPU
42+
{EB144C64-CA7A-487E-B540-9D7A9AB4306C}.Release|x86.ActiveCfg = Release|Any CPU
43+
{EB144C64-CA7A-487E-B540-9D7A9AB4306C}.Release|x86.Build.0 = Release|Any CPU
44+
EndGlobalSection
45+
GlobalSection(SolutionProperties) = preSolution
46+
HideSolutionNode = FALSE
47+
EndGlobalSection
48+
EndGlobal

‎code/Skills/Members.cs

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
using System;
2+
3+
namespace Skills;
4+
5+
public class Members
6+
{
7+
public string Nombre { get; set; }
8+
public string Rol { get; set; }
9+
public string CorreoElectronico { get; set; }
10+
11+
// retorna un string con el nombre y el rol del miembro
12+
public override string ToString()
13+
{
14+
return $"{Nombre} - {Rol}";
15+
}
16+
17+
// añade la inicialización por defecto de las propiedades
18+
public Members()
19+
{
20+
Nombre = string.Empty;
21+
Rol = string.Empty;
22+
CorreoElectronico = string.Empty;
23+
}
24+
25+
// constructor con parámetros
26+
public Members(string nombre, string rol, string correoElectronico)
27+
{
28+
Nombre = nombre;
29+
Rol = rol;
30+
CorreoElectronico = correoElectronico;
31+
}
32+
}

‎code/Skills/Program.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
int Sumar(int a, int b, int c)
2+
{
3+
return a + b + c;
4+
}
5+

‎code/Skills/Skills.csproj

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net9.0</TargetFramework>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
8+
</PropertyGroup>
9+
10+
</Project>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /