C# Corner

Resources  
  • A Graphics Component in C#Jan 15, 2000. In this example we have an XYGraph Component and a form that uses it.
  • Using ListViews in C#Jan 18, 2001. As a Visual C++ user for 10 years I can say that Microsoft deserves praise for their new ListView class. The MFC ListView class was, well, unpleasant to use. C# makes life a bit easier with a richer property and method set for ListViews. Also, you can now, set the ListView to select an entire row in report mode, something that in Visual C++ you had to write a whole custom ListView control to do. Note also the nice grid lines.
  • Text to HTML ParserApr 05, 2001. If you have been into developing Web Applications then you might have at many times experienced that when you display multiple lines of data from a database you loose the spacing or formatting between multiple lines of data.
  • Auto CompilerMay 05, 2001. This is a utility to make it easier to compile from the command line. One of the problems with using the command line.
  • Line numbering utility in C# and JavaMay 08, 2001. After reading this article Java programmers should be able to decipher and de-jargonize the .NET architecture and relate it with the proposed ECMA standard.
  • Line Numbering Utility in C# and JavaMay 08, 2001. This is the first of the series of programs I wish to write to help myself get a handle on C#.
  • Control Statemenats - Part 1Jun 01, 2001. This lesson shows how to use c# control statements, and the difference between these controls in C++/ JAVA and c#. Sample includes single selection, if-else, and multi case ..
  • C# Language Preprocessor DirectivesJun 05, 2001. This lesson contains C# language preprocessor directives including #if, #else, #define, #undef, #line etc with sample examples.
  • GDI+ Samples: Rectangle, 3D, and EllipseJun 07, 2001. This article has three sample examples on GDI+ - Rectangle, Ellipse, and 3D.
  • Exception HandlingJun 12, 2001. Exceptions in C# provide a structured, and type-safe way of handling both system level and application level error conditions. The exception mechanism in C# is very similar to that of C++, with a few important differences.
  • ShapedForms in C#Jul 13, 2001. Today Windows always appear with a rectangular shape. What if you could have a window that was shaped like a circle, a square or a triangle or any shape you want.
  • Exception HandlingJul 21, 2001. Exceptions in C# provide a structured, and type-safe way of handling both system level and application level error conditions. The exception mechanism in C# is very similar to that of C++, with a few important differences.
  • Difference Using Directive and StatementJul 26, 2001. This article explains difference between using directive and using statement with sample example.
  • Working with GDI+ Pens and FontsJul 30, 2001. The System.Drawinging.Pen and System.Drawing.Font classes represent pen and font objects in GDI+.
  • Working with Status BarsAug 01, 2001. An article on how work with status bars and pens and images to the pens.
  • Difference between Const and ReadonlyAug 05, 2001. The sample example shows the difference between const and readonly.
  • Printing out your W2 Form using C# and .NETAug 07, 2001. This article covers a fairly practical aspect of using a computer - dealing with forms. The concepts in this article can be used to create any Form Application so that you can design forms that you can Fill Out, Open, Save, Print and Print Preview.
  • Drawing With no OnPaint MethodAug 09, 2001. In this sample example, I draw GDI+ objects on button click.
  • Scribble in C#Aug 24, 2001. Here is a simple scribble C# program you can change the color and the pen width.
  • A variety of Chart EnginesSep 07, 2001. The original code came from Scott Guthrie’s chart engine example. The differences from original code.
  • Similarities and difference with C# and Other LanguagesSep 24, 2001. You should know that many C/C++ developers have been asking this question: Is C# a new programming language or a new version of C/C++. My answer to both questions is that none of these definitions is true.
  • Charting in GDI+Nov 07, 2001. Here is an example of creating simple charts using GDI+ commands in C#. I have used the random class to create 5 random percentage values. I then use GDI+ to plot these values on a chart.
  • Debug Troelsen's .NET books (1): IEnumeratorDec 10, 2001. This article examines code problem in chapter 4 (for C#)/chapter 5(for VB.Net) of the two .Net books.
  • XP, Component Services and .NETDec 13, 2001. First of all, COM+ does revolutionize COM; it is not only a superior new version of the COM programming model it is also a new platform to design and develop components. In addition, COM+ Services in XP does have some differences from Windows 2000; also XP and COM+ 1.5 offer a richer set of services than was available in COM+ 1.0. This article will describe the basic component services on the XP.
  • Graphics Programming in C#Dec 26, 2001. The new improved version of GDI is called GDI+. The .NET framework provides a rich set of classes, methods and events for developing applications with graphical capabilities.
  • Drawing Line Chart in ASP.NETJan 18, 2002. This sample using GDI+ encapsulated in a class to display a primitive line chart.
  • Graphics using GDI+Feb 05, 2002. This sample project shows how to draw various graphics objects on a Form using GDI+ objects.
  • VS.NET Tools Intermediate Language Disassembler (ILDAM)Feb 06, 2002. "The ILDSAM tool parses any .NET Framework EXE/DLL Module and shows the information in a human-readeble format"
  • N-Tier Development with Microsoft .NET : Part IFeb 15, 2002. The purpose of this article is to examine a proof of concept on an architecture that follows the DNA pattern on concept only.
  • Reflecting Data to .NET Classes: Part I - From HTML FormsMar 06, 2002. Reflection allows us to examine internal details of assemblies and classes at runtime (programmatically).
  • Calling Managed Code from Unmanaged CodeMar 11, 2002. One significant part of developers (including myself) are doing some kind of automation of Microsoft Office. So I will concentrate on opposing side of problem, how to use managed assembly from MS Office or VB script. In this article, I will discuss how to call managed code from unmanaged code.
  • Drawing rubber-band lines and shapesMar 12, 2002. I would like to show how we can draw rubber-band lines and shapes in GDI+ with just a few lines of code.
  • Function Overriding and Its Impact During Object InitializationMar 25, 2002. Different languages have different ways to initialize an object. C# and Java both have almost similar ways to initialize an object with few subtle differences.
  • BattleShips GamesApr 02, 2002. This application presents a grid of 100 squares to the user. The user has thirty five attempts to find to find the computers fleet. The computer randomly positions five ships of varying sizes around the board.
  • Paging in Mobile Web FormsJun 10, 2002. The biggest difference between web applications designed specially for use on Mobile Devices is the limitation imposed by the small screen size of Mobile devices.
  • Shell Commands within C#Jul 10, 2002. In this article we will examine a few examples for executing shell commands outside of our program using C#.
  • Validation Server Controls in Web FormsAug 05, 2002. When working with Web applications, developers need to write two separate codes using Java Script and VB Script to validate user inputs.In this article we are going to see, how we can reduce the programmers effort on coding, reducing the execution process time and simplify the code handling and less number of lines in the coding.
  • Web Thermometer in C# and .NETSep 13, 2002. The Web Thermometer is a good example for using GDI+.
  • Chart RecorderOct 09, 2002. This is chart recorder program developed using C# and GDI+.
  • Client Server Multithreaded ApplicationNov 08, 2002. This is simple Client/Server (multi-threading) program that transfers data. Server can handle multiple clients.
  • Sorting using MultithreadingNov 13, 2002. This is simple multithreading application that sort integers values in an array.
  • .NET Flat Control LibraryDec 16, 2002. The attached source code contains a library contains basic flat controls.
  • Cryptography in Microsoft.NET Part II: Digital Envelop and Digital SignaturesDec 18, 2002. Part-I of this article covered cryptography in the context of encryption. This part continues from where part-I left. It assumes that the reader understands the purpose of encryption, knows about the two types of encryption namely asymmetric encryption and symmetric encryption and the fundamental differences between them. It also assumes that the reader understands encryption-decryption classes in System.Security.Cryptography namespace and the stream based encryption model in. NET framework class library (FCL).
  • Implementing Prim's Algorithm using GDI+Dec 31, 2002. Prim's algorithm is an algorithm used in the graphics development to calculate the shortest route in a network when an object is moving from a source node to the destination node.
  • ChessyOnline 1.0: An Online and Network Chess GameDec 31, 2002. The attached project is a chess game that can be played by two users online as well as on the network.
  • Lengthy Operations on Single Thread in .NET ApplicationsJul 08, 2003. In this article I discuss how the lenghty operations can be handled in a .NET application. I also discuss how the stack trace can be examined to find any specific methods.
  • 2D ChartingAug 11, 2003. I was amazed at what the VS.NET IDE does for a programmer as I was primarily used to Java via the command line.
  • Object Oriented: The Grownup Way to CodeSep 29, 2003. Back in my dark days of Procedural Programming, I remember someone giving me a problem, then banging out a few (hundred) lines of code, achieving my goal, and going on with my life. The next time a similar problem would arise, I’d rewrite, or in some cases, cut & paste my old code to achieve a similar, yet slightly different outcome.
  • Introduction to ASP.NET HTTP ModuleNov 24, 2003. This article will help the users to examine the use of HTTP Modules and their use in extending the pipeline. The HTTP Pipeline is a series of extensible objects that are initiated by the ASP.NET runtime in order to process a request.
  • Line Count UtilityJun 12, 2004. Program returns count of code lines and file names in which code lines will be counted.
  • Using Tablet PC Ink on Windows ControlsJun 23, 2004. You can use any control as a surface for the ink and can write on these controls using a Tablet PC pen. To make a control ink enabled, you must have to assign the handle of the control to InkOverlay handle.
  • Cryptography in .NETJul 31, 2004. This article gives a brief overview of Cryptography and the Cryptography support provided by the .NET Framework. I begin by introducing Cryptography and then proceed to examine the various types of it. In particular, I review and analyze the various cryptography algorithms and objects supported by .NET. I conclude after proposing and briefly discussing the algorithmic technique that would work best for you.
  • Moving to ASP.NET: Part 1Aug 24, 2004. The attached white paper, Moving to ASP.NET, examines trends in the adoption of ASP.NET, and provides guidelines for selecting the migration approach that best meets specific business needs.
  • Difference between passing reference types by ref and by valueSep 02, 2004. We all know the difference between passing value types byval and byref, if the variable is passed byval any change to the variable value in the called function is not reflected back in the callee.
  • 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.
  • Digging Deeper - Structures in C# Feb 22, 2005. Structures in C# are similar to structures in C and C++ but with several prominent differences. In C#, structures are value types.
  • Best Approach for Designing Interoperable Web ServiceMar 15, 2005. This article will clarify and explain in detail the different Web Service Design Methodologies as defined by the Web Services Standardization Groups, clarify the terms, highlight their differences.
  • Building a Web Site using Visual Studio 2005Apr 13, 2005. This article gives you a glimpse of new features of Visual Studio 2005. In this article, you will see the power of Visual Studio and how easy it is to build Web sites using new controls without even writing a single line of code.
  • MouseStick Control.May 13, 2005. The attached source code is a MouseStick control written in C# and Windows Forms. The MouseStick control gets its name from the fusion of a joystick with a mouse. Think of the line in the MouseStick as a joystick that is controlled with your computer's mouse.
  • Revised Gauge Custom Control in C#Jun 10, 2005. This is an enhanced version of the custom guage. Enclosed are the source code for the control, and the test program.
  • OOPs Concepts and .NET Part 1: Classes, Objects, and StructuresJun 22, 2005. The following article kicks off a three-part article series that will present definitions and samples for different Object-Oriented Programming concepts and its implementation in .NET. The first part will examine the concepts of classes, objects, and structures. The second part will examine the concepts of inheritance, abstraction, and polymorphism. The third and last part will examine the concepts of interface, multiple interface inheritance, collections, and overloading.
  • OOPS Concepts and .NET Part 2: Inheritance, Abstraction, & PolymorphismJun 22, 2005. The following article is the second of a three-part article series that presents definitions and samples for different Object-Oriented Programming (OOP) concepts and its implementation in .NET. The first part examined the concepts of classes, objects, and structures. This part examines the concepts of inheritance, abstraction, and polymorphism. The third and last part will examine the concepts of interface, multiple interface inheritance, collections, and overloading.
  • Programming with .NET Compact Framework 1.0 and SQL CE 2.0 : Part IJul 26, 2005. This article covers various major components for developing application for PDA .Before developing application targets to PDA device its very important to understand .NET compact framework, supported/unsupported features for smart device development, Difference between .NET compact framework and .NET framework and of course SQL CE if you want to store application data in SQL database.
  • Get difference between two dates in C#Aug 05, 2005. This code snippet shows how to get difference between two dates in C#.
  • Programming with .NET Compact Framework 1.0 and SQL CE 2.0 : Part IIAug 11, 2005. In this article I am going to talk about garbage collection and JIT process in .NET compact framework and what are the differences between these two model of framework.
  • Examining Organizational Workflows under the hood of .NETAug 18, 2005. In this article we will firstly we will see what organizational workflows are and how they fit into organizational hierarchy and make information move within this hierarchy.
  • Introduction to ADO.NET 2.0 Data Source ControlsAug 19, 2005. ADO.NET 2.0 provides new data source and data-bound server controls, which allow developers to write full-fledged data-driven applications without writing even a single line of code. This article is an introduction to these new data source controls.
  • Drawing XY Plot Graph in C#Sep 30, 2005. The attached code is an update of Mike Gold's XY Plot graph.
  • AI: Using the Compact Genetic Algorithm to Compute Square Roots in C#Oct 09, 2005. This article describes the Compact Genetic Algorithm (cGA) and how it can be used to calculate the square root of a floating point number.
  • Working with Drawing ClassOct 27, 2005. This article gives an overview to work with drawing and printing class. It explains how to use various methods in the drawing and printing class.
  • Attributes in C#Feb 20, 2006. In this artilcle, we will see what the attributes are and why should we use the attributes in our applications?
  • Differentiate Hiding and OverridingFeb 27, 2006. As most of you know hiding and overriding are two main features based upon inheritance, which is one of the pillars of the OOP. Using these we can redefine a member of the base class in a derived class. But what are the differences. Let me clear this with some simple examples.
  • AndAlso & OrElse Operators in C#Mar 13, 2006. Hi all, in a very short note I am trying to explain some interesting logical operators in C# and their VB.NET counter part. You must ware of the differences between these operators for a better usage of them.
  • Access Command Line Arguments in C#Mar 27, 2006. This article shows how to access command line arguments in C#.
  • Using static variable and Activated Event for Building "Home" Button of Windows applicationApr 10, 2006. In this tutorial I will share experience how , just with the help of a few clicks and a few lines of code , to build a windows application with "Home" button, that allows to return to "Home" form (in fact to close all opened forms by one click) . The examples are written using C#.
  • Introducing ASP.NET 2.0Jun 14, 2006. In this article, the author examines the fundamentals of ASP.NET 2.0 with the help of code snippets.
  • Six C# features Java developers will kill for...Jun 21, 2006. C# is called Java on steroids, and everyone agrees that it is based on some long-time Java ideas and concepts. But, there are differences, and some of them make C# very powerful compared to Java. Here are six of them.
  • Handling new line and carriage return with TextboxAug 08, 2006. This article shows how to handle newline and carriage return with Textbox while working with Databases.
  • Calculating Date Difference in C#Sep 14, 2006. This article introduces the various options for calculating the date difference in C#.
  • Working of Reference Type and Value TypeSep 18, 2006. This article shows you all the difference between reference and value type variables.
  • Simple MP3 PlayerNov 20, 2006. So many people are asking how to play MP3 and WAV files that I put together this simple player. One button and six lines of code. Thats all there is.
  • Processing Command Line ArgumentsDec 27, 2006. This article describes an approach to processing multiple command line arguments.
  • The Difference Between the Two GOF Patterns "Strategy" and "State"Jan 18, 2007. The GOF Strategy and State patterns are remarkably similiar and it is really only a minor implementation detail that distinguishes the two.
  • Drawing Graphics Shapes in XAML Apr 12, 2007. This article describes the drawing model in XAML and how to draw various objects such as line, rectangle, ellipse, and paths using XAML.
  • Error handler for web applicationsMay 15, 2007. In this article I will describe the error handler for ASP.NET 2.0 applications, that is developed in a separate class library project . You can use it in any web application you want by adding a reference to the compiled dll assembly without writing many lines of code. The examples are written using C#.
  • Sending E-mails with ASP.NET 2.0 using C#May 21, 2007. In this article, Anand examines how to send e-mails using ASP.NET 2.0 in both text and HTML formats using C# with the help of an example.
  • On-line Address Book in ASP.NET 2.0May 25, 2007. This is an On-line Address Book project. This project is very useful to keep the record and addresses of person. Here in this project we can view all record, edit any record, delete any record, search a record and update any record. This project will be very useful to those who are new or going to his/her first ASP.NET project.
  • Flat File Parsed to XML Using C#Jul 01, 2007. I ran across an interesting problem today where I had to parse a flat file (csv or tab delimited) into an xml document. The solution I arrived at is flexible enough for reuse so I though I'd share the library along with some of my development notes.
  • Difference between Composition and Aggregation Jul 27, 2007. Apart from programming, a lot of my spare time sat at the computer is spent reading group, blog postings, etc from other developers. One particular posting that caught my eye recently provoked a lot of response and mixed answers to a question posed by a poster. This question was, ‘What is the difference between composition and aggregation and how would I express it in my programs?’
  • Chapter 2: Programming WPF ApplicationsJan 09, 2008. This article describes the framework that WPF offers and also tells the differences between Browser based and Windows based installed applications.
  • View database structure using C#Jan 16, 2008. This article describes an easy approach for examining all of the tables, views, and columns in a database.
  • How C# is Different From JavaJan 17, 2008. This article describes the various differences between C# and Java.
  • Biztalk Messaging Services: Flat File SchemaJan 21, 2008. This article is intended to consolidate the principles of messaging in Biztalk Server 2006.
  • Chapter 1: C# PreviewJan 22, 2008. This chapter explains you the brief description about the difference between c# and c++ and also gives you an overview of what's new in c# 3.0.
  • Chapter 8:Workflow PersistenceJan 25, 2008. This article describes workflow persistence and also examines how persistence works in windows workflow foundation(WF) world.
  • Features of WSS 3.0 and MOSS 2007Mar 04, 2008. This Article describes features of windows SharePoint services (WSS 3.0) and MOSS 2007. It describes basic difference between WSS 3.0 and Moss 2007.
  • F# Tuples and Binding (and more Binding)Mar 26, 2008. Binding in F# is similar to using variables in C# but there are some big differences. This article discusses one of the most used keywords in F# for binding ("let") and how it is different than setting a C# variable. I also cover the tuple F# data structure.
  • What really it differs an Interface from a class: Part IApr 28, 2008. This article tells you about the basic difference between an interface and a class.
  • Separating the User Interface from your Working CodeJun 26, 2008. Your application’s user interface may be a Windows Form, a Web Form, or maybe just a command line. This article is about separating the user interface from the rest of your application’s code.
  • Opening Jars with C# Jul 07, 2008. This article shall describe an approach that may be used to extract Jar files. Jars are merely files compressed using zip compression; the primary difference between a standard trash zip file and a jar file is that the jar file includes a manifest; also a true jar files can be run as an executable on a machine equipped with the java runtime.

About Examine-the-difference-between-the-Pen-Lines-flat-cap-and-square-cap

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!
Download Free eBooks