Skip to content

Commit 6968c47

Browse files
committed
dynamic_Deep_Dive
1 parent d9a37f4 commit 6968c47

File tree

3 files changed

+50
-0
lines changed

3 files changed

+50
-0
lines changed

dynamic_Deep_Dive/Program.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
namespace dynamic_Deep_Dive
2+
{
3+
internal class Program
4+
{
5+
static void Main(string[] args)
6+
{
7+
// Basic dynamic typing
8+
9+
dynamic name = "Alice";
10+
Console.WriteLine(name.Length); // Resolved at runtime
11+
12+
Console.WriteLine("Dyanamic Deep Dive!");
13+
}
14+
}
15+
}
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>net8.0</TargetFramework>
6+
<ImplicitUsings>enable</ImplicitUsings>
7+
<Nullable>enable</Nullable>
8+
</PropertyGroup>
9+
10+
</Project>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.14.36202.13 d17.14
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "dynamic_Deep_Dive", "dynamic_Deep_Dive.csproj", "{56F6F334-1648-44A9-936E-A95A6BBE52B3}"
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(ProjectConfigurationPlatforms) = postSolution
14+
{56F6F334-1648-44A9-936E-A95A6BBE52B3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{56F6F334-1648-44A9-936E-A95A6BBE52B3}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{56F6F334-1648-44A9-936E-A95A6BBE52B3}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{56F6F334-1648-44A9-936E-A95A6BBE52B3}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {9023BF6B-3FF1-4B2C-972E-A3D1E9608BA0}
24+
EndGlobalSection
25+
EndGlobal

0 commit comments

Comments
 (0)