C# Corner

Resources  
  • Displaying Exception InformationAug 21, 2001. This is a simple utility to display exceptions. Each exception in the chain is added to an ArrayList and displayed in reverse order in a ListView control.
  • Constructor and Destructors in C#Oct 10, 2001. This detailed article talks about how constructors and destructors work in C# and how to use them in your applications.
  • Alternative Simplified C# Property Syntax Dec 19, 2002. When I first read about properties in C#, I was a bit excited and a bit confused. I was glad to see so many inventions, including properties, designed to help programmers be more productive.
  • Cryptography in Microsoft.NET Part III: Digital CertificatesJan 08, 2003. Part-I and II of this article discussed the basics of cryptography and its applications in real world enterprise solutions. Part-I discussed the nitty-gritty of encryption and its implementation in Microsoft .NET Framework Class Library (FCL). Part-II discussed the hashing and signature algorithms and their implementation in FCL. It also discussed the two common cryptography applications namely digital envelope & digital signature.
  • Regular Expression ValidatorMar 14, 2003. This tool is useful when you are creating Regular Expression. This tool will help you in checking syntax of the regular expression typed in.
  • Syntax Highlighting in RichTextBox Control - Part 2Jun 12, 2003. This article shows how to perform interactive syntax highlighting within the RichTextBox control.
  • Syntax Highlighting in Rich TextBox Control - Part 1Jun 12, 2003. This article shows how to perform basic syntax highlighting using the RichTextBox control and C#.
  • Part I: Simple Color Syntax Code Editor for PHP written in C# and .NETJun 18, 2003. The Application is a simple Windows Form program that allows you to open and save the text files edited in the rich edit control, as well as print them out. The program takes advantage of a “syntax” text file for PHP which lists the functions and keywords contained in the PHP language.
  • Part I: Simple Color Syntax Code Editor for PHP written in C# and .NETJun 18, 2003. The second part of this article shows how to print out the contents of a RichTextBox control.
  • Code Generator for Basic Stamp II MicrocontrollerOct 15, 2003. The Basic II Stamp is programmed by the language its named after, Basic. The language is a combination of Basic syntax and built in key words that control the Basic Stamp II chip.
  • Constructors In C#May 06, 2004. This article explains constructors in C# with sample examples including constructor overloading, static constructors, and constructor chaining.
  • Build a .NET Solution or Project from the Command Line Sep 27, 2004. Devenv allows you to set various options for the integrated development environment (IDE) as well as compile, build, and debug projects from the command line.
  • Introduction to ASP.NETNov 17, 2004. I have seen many tutorials on ASP.NET but most of them starts with coding and writing your first ASP.NET program. But here I have written this tutorial for explaining why there is a need for ASP.NET when classy ASP is working fine, what are the underlying technology behind ASP.NET, and what programming model ASP.NET provides to programmers.
  • Sending Mail from ASP.NET Webpage using VB.NetJan 06, 2006. This article shows how easy it is to send an email from an ASP.NET Web page. While sending email from an ASP.NET Web page the syntax differs slightly from sending an email from an ASP page, the overall approaches are similar.
  • Regular ExpressionsJul 05, 2006. The purpose of this article is to build upon the existing pool of regular expression articles by providing an overview of the new regular expression features found in .NET and to offer some guidelines as to when and how to use them.
  • The GOF "Chain of Responsibility" Design PatternJan 18, 2007. The Chain of Responsibility pattern is used to pass responsibility for handling a call to another class. This article gives a basic overview of the pattern.
  • Color Syntax Editor Part II - Exporting a RichTextBox to a Microsoft Word DocumentAug 14, 2007. This article is part II of a color syntax editor created back in 2003. It describes how to export the contents of the RichTextBox to Word and Open the Word Document Programmatically.
  • Free Book: C# Programming for BeginnersAug 21, 2007. In this book, you will learn how to write and compile C# programs, understand C# syntaxes, data types, control flow, classes and their members, interfaces, arrays, and exception handling. After completing this book, you should have a clear understanding of the purpose of C# language, it’s usages, and how to write C# programs.
  • Chain of ResponsiblityAug 30, 2007. This article shows a how to make a custom Wizard control using Chain of Responsibility Pattern which passes and returns data between each step. This sample creates a wizard control through windows form.
  • Introduction to Functional Programming in C#Jan 13, 2008. With the release of the 3.5 framework, we have a completely different coding style available (functional programming). We could actually do functional programming in the 2.0 framework, but the resulting code was ugly and hard to understand at a glance and thus hard to maintain. Now, with lambda method syntax and extension methods, we can produce very human-readable code written in a functional style.
  • Functional Programming in C#: CurryingJan 13, 2008. Currying is a way to re-write a function with multiple arguments in such a way as it can be called as a chain of functions each with a single argument. This article covers using a few simple utility methods you can use to curry your methods.
  • Functional Programming with C#: Lazy CalculationJan 20, 2008. I ran across Mike Gold’s nice algorithm for finding primes using LINQ syntax and thought I’d use his idea as a base from which to demonstrate one of the more subtle features in functional programming: lazy calculation.
  • Methods, Delegates, Anonymous Delegates, and Lambda Expressions... Oh My!Mar 22, 2008. This article covers different syntax we can use for declaring and executing methods.
  • Difference between C++ and C#Aug 27, 2008. This article gives you complete information about the different syntax used in c++ and C# language.
  • Coding Better: Programming From the Outside In for Fluent Interfaces. Part IIFeb 01, 2009. In this article we’ll cover building a Fluent Interface in order to write readable code that closely models spoken/written language.  In a previous article I discussed how we can be more efficient and write better code by developing from the outside-in.  Now we’ll look at a new trick to make this approach even more effective, the Fluent Interface and Method Chaining.
  • Coding Better: Programming From the Outside In for Fluent Interfaces. Part IIIFeb 02, 2009. In a previous article I demonstrated a coding approach that allows us to easily build a Fluent Interface.  In this article we'll pick up where I left off and develop a more sophisticated/complex structure.
  • JSON FundamentalsFeb 02, 2009. A new data format which is built on JavaScript is called JavaScript Object Notation[JSON]. It is a lightweight data format based on JavaScript syntax. JSON definitions can be included within JavaScript files. This post speaks about basic syntax of JSON.
  • Optional Argument in C# 4.0Jul 29, 2009. This article will give a very basic introduction of Optional Argument in C#4.0. This article will explain how Operation overloading and Optional Argument is different with samples. This article will give different syntax with Named parameter to work with Optional arguments.
  • Hello C#Nov 05, 2009. This short article is based on the classic “Hello, World” sample program familiarizes you with the language syntax and introduces the command line compiler.
  • .NET Arrays with Micro Focus COBOL.NETMar 08, 2010. Overview of how to use the System.Array class with Micro Focus COBOL.NET. Covers the syntax needed to create and use Arrays. Includes examples and sample code
  • Traversal Methods in JQueryMar 18, 2010. In this article, we will focus on traversal methods followed by chaining in JQuery.
  • Events in JQueryMar 19, 2010. In previous article, we looked into traversal methods and chaining. In this article, we will cover events and its types.
  • Using new syntax styles in .Net 3.5Apr 19, 2010. In this article we will see to new coding methodologies in .NET 3.5.
  • Syntax Highlighting in RichTextBox using C#Aug 04, 2010. This article is about how to achieve Syntax Highlight feature in RichTextBox.
  • LINQ Operators and Lambda Expression - Syntax & ExamplesSep 08, 2010. LINQ is a cool feature in C# 3.0. Most of the developers are struggling for the syntax and examples. Here I have collected various examples for each operator in LINQ and the equivalent Lambda Expressions.
  • Chain Of Responsibility Design PatternSep 20, 2010. In this article you will learn how to use Chain Of Responsibility Design pattern.
  • Working with LINQ in SharePoint 2010Oct 05, 2010. In this article I am showing how to use LINQ in SharePoint 2010 web part. SharePoint 2010 has the ability to use LINQ syntax to fetch data from lists instead of using the CAML queries.
  • XMLDocument (DOM) and XDocument (LINQ)Jan 20, 2011. Before LINQ to XML we were used XMLDocument for manipulations in XML like adding attributes, elements and so on. Now LINQ to XML uses XDocument for the same kind of thing. Syntaxes are much easier than XMLDocument and it requires a minimal amount of code.
  • How to: Generate or find Connection String from Visual StudioFeb 07, 2011. If you are just starting with ADO.NET and database programming in .NET, you may not remember the connection string syntax's. You can use Visual Studio designer to do the work for you.
  • Behavioral Design Pattern for .NET: Part 1Feb 17, 2011. Behavioral Design patterns are the patterns for .Net in which there is a way through which we can pass the request between the chain of objects, or we can say that it defines the manner to communicate between classes and object.
  • Behavioral Design Pattern for .NET: Part 2Feb 18, 2011. Behavioral Design patterns are the patterns for .Net in which there is a way through which we can pass the request between the chain of objects, or we can say that it defines the manner to communicate between classes and object.
  • Anyone for VALA?Mar 09, 2011. Vala is a new programming language based on C# syntax which compiles to C code rather than Common Intermediate language.
  • B- Ball, C- Cat, D - dog: - Learning (REGEX) regular expression the easy wayMar 23, 2011. Regex has been the most popular and easiest way of writing validations. The only big problem with regex has been the cryptic syntax. Developers who are working on projects with complicated validation always refer to some kind of cheat sheet to remember the syntaxes and commands.
  • Role of Callback and Chaining in jQuery ’s Animate & EffectMay 09, 2011. Callback and Chaining play an important role in jQuery coding when using animate / effect methods. In this article we will understand it with the help of a small example.
  • Creating a Custom Markup Extension in WPFJul 08, 2011. Custom Markup Extension enables you to extend XAML and set any property that can be set in XAML using attribute syntax.
  • Code Tag Use to Represent Code Syntax in HTML5Jul 21, 2011. The code tag encloses text in source code of a programming language.
  • Create Tag Library Descriptor And Use in JSPJul 30, 2011. It is a process to create user-defined tags which can perform any task in the server. It provides a facility to separate Java code or scriptlet from JSP. This tag follows XML syntax.
  • Beginners guide to Lambda ExpressionsAug 28, 2011. Lambda expressions are similar to anonymous methods introduced in C# 2.0, except that lambda expressions are more concise and more flexible.
  • Concept of LINQ with C#Nov 13, 2011. LINQ stands for Language Integrated Query. LINQ is a data querying methodology which provides querying capabilities to .NET languages with a syntax similar to a SQL query
  • Chain of Responsibility PatternNov 28, 2011. Chain of Responsibility is one among the 23 Design Patterns by Gang of Four. It is an interesting pattern and similar to the Observer pattern. In this article we are exploring the Chain of Responsibility pattern.
  • JSP Expression LanguageNov 30, 2011. The JSP expression language allows a page author to access a bean using simple syntax such as $(name). Before JSP 2.0, we could use only a scriptlet, JSP expression, or a custom tag to include server state in the jsp page output.
  • Working With LineNumberReader Class in JavaMay 28, 2012. In this article we are going to describe how to use the Java LineNumberReader Class. I describe its constructor in detail and its method details with syntax.
  • ASP.NET Web Pages With Visual Studio 2012Jun 22, 2012. This article is about ASP.Net web pages that are a combination of HTML, C# and Razor syntax which produces dynamic web pages.
  • Introduction to Microsoft ASP.NET MVC 3 Razor View EngineJul 25, 2012. In this article I will explain what a Razor view is and why we use it also some syntax of using it.
  • New Built in Functions in SQL Server 2012 : DateTime FunctionsAug 18, 2012. In this article, let us see how to use the 7 new builtin DateTime functions of Microsoft SQL Server 2012 Release Candidate 0 with their syntax and sample queries.
  • New Built in Functions in SQL Server 2012 : Conversion FunctionsAug 18, 2012. In this article, let us see how to use the 3 new builtin conversion functions of Microsoft SQL Server 2012 Release Candidate 0 with their syntax and sample queries.
  • LINQ Query Syntax and Method Syntax: Part 11Sep 07, 2012. In this article you will look at some differences between LINQ Query Syntax and Method Syntax used in LINQ.
  • Understanding TypeScriptNov 05, 2012. The TypeScript language is a superset of JavaScript but a subset in syntax. It has been built to support easily building large-scale web applications with features like modules, interfaces, classes etc.
  • Navigating to a Specific Function in a Function Library in QTPNov 05, 2012. In this article we discuss how to navigate to a specific function in a Function Library.
  • ASP.NET Web Pages - Connecting to the DatabaseFeb 01, 2013. This article is about ASP.Net web pages that are a combination of HTML, C# and Razor syntax which produces dynamic web pages and fetches the data from the existing database.
  • DataList Tag in HTML5Feb 01, 2013. In this article I describe how to create and use a Datalist Tag in HTML5.
  • Responder Chain in iPhoneFeb 24, 2013. In this article I will explain the responder chain and file owner.
  • HTML5 SVGFeb 25, 2013. In this article I am going to describes the implementation and use of SVG in HTML5.
  • HTML5 New Input TypesFeb 25, 2013. In this article I am going to describes the implementation and use of new input types in HTML5.
  • When to use Final, Finally and Finalize Methods in JavaApr 10, 2013. In this article I describe the basic differences among the Final, Finally and Finalize methods in Java.
  • Getting Started with Razor View Engine in MVC 3Jul 19, 2013. This article introduces the Razor View Engine in MVC 3. This is a beginner-level article that describes the basics of Razor View Engine using an example.
  • ASPX View Engine VS Razor View EngineSep 17, 2013. View Engine renders the HTML to the browser. The view engine templates have a different syntax than the implementation.
  • Introduction to Google Web DesignerOct 09, 2013. Google Web Designer's Code view lets you create CSS, JavaScript, and XML files, using syntax highlighting and code autocompletion to make your code easier to write, with fewer errors.
  • Shutdown of Database in Oracle 11gOct 16, 2013. Here I am going to describe the shutdown process of a database.
  • Publishing MySQL Data With PDO Extension In PHPNov 13, 2013. This article is explain publishing MySQL data with PDO extension in php.
  • An Understanding of LINQ (Language-Integrated Query)Nov 21, 2013. This article discusses the powers of LINQ and how to use it along with an explaination of several methods to increase its productivity.
  • HTTP Message Handler in Web API: Execution Flow of Custom Message HandlerDec 30, 2013. In this article we will understand the execution flow of the message handler chain.
  • Event Handlers in JavaScriptJan 23, 2014. Here I’ll try to provide the proper syntax of some event handlers.
  • Object Syntax in JavaScriptJan 28, 2014. In this article I’ll explain objects in JavaScript.
  • Introduction to JavaScriptFeb 24, 2014. This article explains JavaScript, the history of JavaScript, JavaScript syntax and statements, the Document Object Model (DOM), JavaScript programs and Object-Oriented Programming.
  • Various Syntaxes For Implementing Classes in JavaScriptMar 25, 2014. In this article we will learn about various syntaxes for defining a class in JavaScript.
  • Inheritance and the Prototype Chain in JavaScriptMar 31, 2014. This article explains inheritance and the prototype chain in JavaScript.
  • Introduction to Streams and Files in C#Apr 17, 2014. This article introduces and describes streams and their properties, version information, methods, syntax and so on with examples. In this article I also describe the file class and directory class.
  • Modes of HTML5 SyntaxApr 21, 2014. In this article am discussing parsing modes/syntax used in HTML5 for different- different functioning, and how these parsing modes work and according to what.
  • QVD Files In QlikView ApplicationMay 08, 2014. This article introduces QVD files in a QlikvView application.
  • Overview of Linked ListMay 14, 2014. This article provides an overview of Linked Lists and explains how they work.
  • Using Kendo UI TemplatesMay 30, 2014. This article provides an overview of Kendo UI Templates and how to use Kendo UI Templates in an ASP.NET Web Application.
  • Restriction and Projection Operator in LINQJun 23, 2014. In this article we will learn about the Restriction and Projection operators in LINQ, their syntax and their functionality with examples.
  • Sum Function in QlikView ApplicationJul 04, 2014. This article describes how to show the sum of all values in a column in a table.
  • AngularJS First Application: Part 1Oct 26, 2014. This article provides some very basic things about AngularJS and provides a very simple first application using AngularJS
  • Regular Expression in C#Nov 01, 2014. In this article you will see the syntax of Regular Expressions with examples and how to create our own Regular Expression in a C# Console Application.
  • Understanding Lambda ExpressionsNov 15, 2014. This chapter has introduced the theory behind lambda expressions as well as illustrates its syntax of expressions.
  • MSIL Programming: Part 2Nov 16, 2014. The primary goal of this article is to exhibit the mechanism of defining (syntax and semantics) the entire typical Object Oriented Programming “terms” like namespace, interface, fields, class and so on.
  • Introduction to JavaScript: Day 1Nov 20, 2014. In this article you learn basic concepts of JavaScript.
  • Download, Export and Validate Service Metadata by Development Command PromptNov 20, 2014. This article provides the syntax and shows how to download the metadata of a service.
  • Exception Handling in C#Jan 11, 2015. Here I will explain what Exception Handling is all about in C#.
  • Introduction To JSONFeb 26, 2015. This article provides an introduction to JavaScript Object Notation (JSON).
  • Terminologies in MVC: Part 2 (Razor Engine Syntax vs Web Form)Mar 21, 2015. In this article we learn about Razor Engine Syntax vs Web Form in MVC ASP.NET.
  • Creating Simple Checkboxlist in MVC 4 Using RazorMar 27, 2015. This article explains how to create a Checkboxlist in MVC using a CheckBoxFor Html helper Control and using Razor syntax.
  • Terminologies in MVC: Part 3 (Scaffolding)Mar 30, 2015. This article is a sub-part of my MVC article series. This series contains all the terminologies, acronyms and terms usually used in the MVC framework. Knowledge of these is as important as knowing Model-View-Controller.
  • Quickstart With XML: Part 2Apr 09, 2015. This part provides simple syntax rules to write a XML document. It is a complete XML document.
  • Zen Coding in Visual Studio 2012Apr 18, 2015. Here we will learn about Zen Coding, a faster way to write HTML using a CSS style selector syntax.
  • jQuery - "Write Less Do More": Day 1May 17, 2015. In this series of articles we will learn jQuery step-by-step.
  • Z-Index Property In CSSSep 03, 2015. In this article you will learn how to use Z-index syntax and their properties in CSS with some examples.
  • Constructor Chaining In C#Sep 27, 2015. In this article you will learn about Constructor Chaining in C# language.

About Chained-Syntax

NA

SPONSORED BY

File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
techbash 2016