Skip to content

Commit 1925d9c

Browse files
committed
hello world
1 parent e034854 commit 1925d9c

9 files changed

+89
-0
lines changed

ch1_hello_world/Program.cs

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
using System;
2+
3+
namespace ch1_hello_world
4+
{
5+
class MainClass
6+
{
7+
public static void Main (string[] args)
8+
{
9+
string hello = "Hello World!";
10+
DateTime now = DateTime.Now;
11+
Console.Write(hello);
12+
Console.WriteLine (" The date is " + now.ToLongDateString());
13+
}
14+
}
15+
}
+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
using System.Reflection;
2+
using System.Runtime.CompilerServices;
3+
4+
// Information about this assembly is defined by the following attributes.
5+
// Change them to the values specific to your project.
6+
7+
[assembly: AssemblyTitle ("ch1_hello_world")]
8+
[assembly: AssemblyDescription ("")]
9+
[assembly: AssemblyConfiguration ("")]
10+
[assembly: AssemblyCompany ("")]
11+
[assembly: AssemblyProduct ("")]
12+
[assembly: AssemblyCopyright ("bperry")]
13+
[assembly: AssemblyTrademark ("")]
14+
[assembly: AssemblyCulture ("")]
15+
16+
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
17+
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
18+
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
19+
20+
[assembly: AssemblyVersion ("1.0.*")]
21+
22+
// The following attributes are used to specify the signing key for the assembly,
23+
// if desired. See the Mono documentation for more information about signing.
24+
25+
//[assembly: AssemblyDelaySign(false)]
26+
//[assembly: AssemblyKeyFile("")]
27+
3.5 KB
Binary file not shown.
464 Bytes
Binary file not shown.
+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
6+
<ProjectGuid>{1A8891C1-6FD2-4D97-9948-68E157374873}</ProjectGuid>
7+
<OutputType>Exe</OutputType>
8+
<RootNamespace>ch1_hello_world</RootNamespace>
9+
<AssemblyName>ch1_hello_world</AssemblyName>
10+
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
11+
</PropertyGroup>
12+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
13+
<DebugSymbols>true</DebugSymbols>
14+
<DebugType>full</DebugType>
15+
<Optimize>false</Optimize>
16+
<OutputPath>bin\Debug</OutputPath>
17+
<DefineConstants>DEBUG;</DefineConstants>
18+
<ErrorReport>prompt</ErrorReport>
19+
<WarningLevel>4</WarningLevel>
20+
<Externalconsole>true</Externalconsole>
21+
<PlatformTarget>x86</PlatformTarget>
22+
</PropertyGroup>
23+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
24+
<DebugType>full</DebugType>
25+
<Optimize>true</Optimize>
26+
<OutputPath>bin\Release</OutputPath>
27+
<ErrorReport>prompt</ErrorReport>
28+
<WarningLevel>4</WarningLevel>
29+
<Externalconsole>true</Externalconsole>
30+
<PlatformTarget>x86</PlatformTarget>
31+
</PropertyGroup>
32+
<ItemGroup>
33+
<Reference Include="System" />
34+
</ItemGroup>
35+
<ItemGroup>
36+
<Compile Include="Program.cs" />
37+
<Compile Include="Properties\AssemblyInfo.cs" />
38+
</ItemGroup>
39+
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
40+
</Project>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// <autogenerated />
2+
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.5", FrameworkDisplayName = "")]
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/Users/bperry/Projects/gray_hat_csharp_code/ch1_hello_world/obj/x86/Debug/.NETFramework,Version=v4.5.AssemblyAttribute.cs
2+
/Users/bperry/Projects/gray_hat_csharp_code/ch1_hello_world/bin/Debug/ch1_hello_world.exe.mdb
3+
/Users/bperry/Projects/gray_hat_csharp_code/ch1_hello_world/bin/Debug/ch1_hello_world.exe
4+
/Users/bperry/Projects/gray_hat_csharp_code/ch1_hello_world/obj/x86/Debug/ch1_hello_world.exe
5+
/Users/bperry/Projects/gray_hat_csharp_code/ch1_hello_world/obj/x86/Debug/ch1_hello_world.exe.mdb
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)