From 4f17a427bb3d958958ae78c65f3c21247d1aa527 Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Tue, 22 Feb 2022 15:00:01 -0500 Subject: [PATCH] Update for 22-02-22 15:00 --- tech/C-sharp.wiki | 61 +++++++++++++++++++++++++++++++++++++++++++++++ tech/asp.net.wiki | 3 +++ 2 files changed, 64 insertions(+) create mode 100644 tech/asp.net.wiki diff --git a/tech/C-sharp.wiki b/tech/C-sharp.wiki index 295e650..e2a60e2 100644 --- a/tech/C-sharp.wiki +++ b/tech/C-sharp.wiki @@ -2,6 +2,67 @@ Purely object oriented language that relies on a JIT. Primary library is .NET +C# is both portable and fast, and coupled with the .NET framework. + + +== Types == + +* string + * is an object, not a primative data type +* char + * single 16bit unicode char +* byte + * 8 bit unsigned int +* short + * 16 bit signed int +* int + * 32 bit signed int +* long + * 64 bit signed int +* float (2.5F) + * 32bit floating point +* double (3.5) + * 64bit double floating point +* decimal (4.5M) + * 128bit precise decimal +* bool + * 1 bit true false + +== Modifiers == + +* const + * not modifiable at runtime + +== casting == + +casting works the same way as C/C++ + +* (int)3.14 + +Or call convert + +* Convert.ToInt32("50"); +* Convert.ToDouble("50.0"); + +== strings == + +== Examples == + +=== Hello World === + +{{{ +class Application +{ + public static void Main(string[] args) + { + Console.WriteLine("Hello world!"); + } +} + }}} + +== ASP.NET == + +See [[asp.net.wiki]] diff --git a/tech/asp.net.wiki b/tech/asp.net.wiki new file mode 100644 index 0000000..705810f --- /dev/null +++ b/tech/asp.net.wiki @@ -0,0 +1,3 @@ +== ASP.NET == + +ASP.NET is an open source cross platform web framework for C#