background preloader

C# Reference

C# Reference
This section provides reference material about C# keywords, operators, compiler errors, and warnings. C# Keywords Provides links to information about C# keywords and syntax. C# Operators Provides links to information about C# operators and syntax. C# Preprocessor Directives Provides links to information about compiler commands for embedding in C# source code. C# Compiler Options Includes information about compiler options and how to use them. C# Compiler Errors Includes code snippets that demonstrate the cause and correction of C# compiler errors and warnings. C# Language Specification Provides pointers to the latest version of the C# Language Specification in Microsoft Word format.

Related:  Unity

SkillSwap: Making A 2 Player 2D Game With Unity [UPDATE] We have a brand new Unity tutorial which uses the new built-in 2D sprite and physics systems that Unity added in version 4.3. You can find it here. I recently presented a step-by-step workshop titled “Making A 2D Sprite-Based Game With Unity” to the Toronto SkillSwap community which is “A collaborative group for folks interested in sharing their skills and training with other developers in Toronto, and for folks interested in learning!”.

Windows PowerShell Updated: July 8, 2013 Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. Built on the .NET Framework, Windows PowerShell® helps IT professionals and power users control and automate the administration of the Windows operating system and applications that run on Windows. The documents published here are written primarily for cmdlet, provider, and host application developers who require reference information about the APIs provided by Windows PowerShell. However, system administrators might also find the information provided by these documents useful. For the basic information needed to start using Windows PowerShell, see Getting Started with Windows PowerShell . IDictionary Options - Performance Test - SortedList vs. SortedDictionary vs. Dictionary vs. Hashtable Please note that the advantage of Hashtable over generic Dictionary for insert and search operations demonstrated here is actually because the tests are based on NON generic IDictionary interface, so each insert or search action is accompanied with check for the key type. For more information see the Sean's comment below. (Thanks Sean!)

How to create an online multiplayer game with Unity - Paladin Studios C# Code creating a server Csharp GUI guide how to how to create a multiplayer game interpolate interpolating Interpolation joining a server kickstarter lfg LFG & the fork of truth multi multi player Multiplayer multiplayer game Multiplayer tutorial network network communication network manager object creation online player player-script predict Predicting Prediction Project refresh host Remote Procedure Call Remote Procedure Calls RPC RPCMode Script Server Spawning a player synchronize The fork of Truth tutorial Tutorial Project Unity Unity editor Unity Guide This tutorial will explain how multiplayer can be implemented using Unity’s networking functionality. We didn’t work on an online multiplayer game before, and here will we describe how we designed the implementation for LFG: The Fork of Truth. This is a four person co-op game where each player controls one of the characters from the LFG comic. These are the things we are going to talk about:

Parallel Programming in the .NET Framework Many personal computers and workstations have two or four cores (that is, CPUs) that enable multiple threads to be executed simultaneously. Computers in the near future are expected to have significantly more cores. To take advantage of the hardware of today and tomorrow, you can parallelize your code to distribute work across multiple processors. In the past, parallelization required low-level manipulation of threads and locks. Visual Studio 2010 and the .NET Framework 4 enhance support for parallel programming by providing a new runtime, new class library types, and new diagnostic tools.

WPF Command-Pattern Applied Download source - 79.5 KB Introduction WPF Commanding offers the base for integration of the GoF Command pattern into an application. 50 Tips for Working with Unity (Best Practices) About these tips (Edit: August 2016. I have revised these tips. You can find the new list here.) Performance Testing Guidance for Web Applications J.D. Meier, Carlos Farre, Prashant Bansode, Scott Barber, and Dennis Rea Microsoft Corporation September 2007

XAML Overview (WPF) XAML is a declarative markup language. As applied to the .NET Framework programming model, XAML simplifies creating a UI for a .NET Framework application. You can create visible UI elements in the declarative XAML markup, and then separate the UI definition from the run-time logic by using code-behind files, joined to the markup through partial class definitions. XAML directly represents the instantiation of objects in a specific set of backing types defined in assemblies. This is unlike most other markup languages, which are typically an interpreted language without such a direct tie to a backing type system. John Warner's Blog - The top 5 things I've learned as a Unity developer The following blog post, unless otherwise noted, was written by a member of Gamasutra’s community. The thoughts and opinions expressed are those of the writer and not Gamasutra or its parent company. Unity is a fantastic game development platform for many reasons, one of which being the clean, accessible way its component-oriented platform is designed. For example, it's very easy to slam together some code and have a simple working prototype running in a day or two. Despite its versatility however, I've found over the years that there's a few practices that work particularly well with Unity.