Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Programming Fundamentals/Introduction Examples CSharp

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Overview C# is a general-purpose, object-oriented programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines. It was developed around 2000 by Microsoft within its .NET initiative and later approved as a standard by Ecma (ECMA-334) and ISO (ISO/IEC 23270:2006). C# is one of the programming languages designed for the Common Language Infrastructure.Wikipedia: C Sharp (programming language) C# is one of the most popular current programming languagesTIOBE: Index, is the primary language for Windows application development and is often used in computer science and gaming courses. Example Input: Hello World // This program displays "Hello world!" // // References: // https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/inside-a-program/hello-world-your-first-program public class Hello { public static void Main() { System.Console.WriteLine("Hello world!"); } } Output Hello world! Discussion Each code element represents:Programming Fundamentals/Hello World // begins a comment public class Hello begins the Hello World program { begins a block of code public static void Main() begins the main function System.Console.WriteLine() calls the standard output write line function "Hello world!" is the literal string to be displayed ; ends each line of C# code } ends a block of code C# IDEs There are many free cloud-based and local IDEs available to begin coding in C#. Check with your instructor or do your own research for recommendations. Cloud-Based IDEs CodeChef C# Pad .NET Fiddle Ideone paiza.IO Rextester repl.it TutorialsPoint Local IDEs Wikipedia: Microsoft Visual Studio Wikipedia: Visual Studio Code References Wikiversity: Computer Programming