C# Corner

Resources  
  • Drag and Drop Using C#Mar 30, 2001. Drag and Drop in C# has been a question on the UseNet and many websites on C# so I have decided to tackle the problem here. This is an update of the directory tree component download on this web site.
  • Using Microsoft Message Queues to build Scalable SolutionsApr 12, 2001. This tutorial shows you how to create, send, and received messages using MSMQ from the .NET base class library (System.Messaging) and C#.
  • Time Ticker2Jul 04, 2001. Microsoft had made lot of Changes for Beta2, some of the changes are old Namespace such as System.WinForms modified to System.Windows.Forms. In addition no. of new Namespaces like Microsoft.CSharp, Microsoft.JScript, Microsoft.Vsa etc...
  • Working with ReflectionJul 05, 2001. This article is about the use of reflection package in Csharp. Through Reflection we can get Information about the class.
  • C# foreach loopJul 24, 2001. This article demonstrates how to use foreach loop in C#.
  • XML GeneratorAug 17, 2001. This article is about advance use of reflection package in Csharp.
  • C# TokenizerAug 27, 2001. A simple tokenizer in csharp without using regex or MatchCollections.
  • Simple Game Developed in C#Sep 03, 2001. This article contains the code for a simple game developed using csharp. This game is all about arranging the shuffled numbers in ascending order.
  • 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.
  • Query BuilderOct 17, 2001. This application is that of a QueryBuilder in CSharp.This application is for Beta2 SDK version of DotNetFramework.
  • How Can You Migrate your Existing Applications?Dec 20, 2001. When a new technology emerges, companies and developers begin to wait anxiously for answers to their questions.
  • Using MS Agent in C#-Part-I(Text To Speech)Jan 15, 2002. This article explains how to use MS Agent to write text-to-speech applications using C# and .NET.
  • Creating and Opening Microsoft Word Document from .NET Using C#Mar 08, 2002. This article is being written in response to a couple inquiries on the question, "How do I open a word document from .NET?".
  • Viewing Multiple ImagesMay 08, 2002. I'm writing this article in response to a question on discussion forums, How do I view multiple images on top of each other?
  • Customizing Default Project SettingSep 26, 2002. "How do I change the default exe name of my project?". I received this question in an email.
  • PERST: A Simple, Fast, Convenient Object Oriented DatabaseMar 05, 2003. PERST is a simple Object-Oriented Database implemented with pure C-Sharp and Java implementations.
  • CSLint: Deadlock Detector for C#Mar 12, 2003. This is a deadlock detector for CSharp programs. It builds a lock graph for the application and searches loops in the graph.
  • How To Print a Data Grid in C# and .NETJun 04, 2003. I wrote this article in response to the question, "How the heck do I print out a DataGrid and its contents
  • 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.
  • How To:Creating Dialogs in .NETDec 29, 2003. This tutorial was written in response to a newbie question in the Forums on how to create a dialog in .NET and extract the information from it.
  • MyQueue in C#Jan 09, 2004. This article attempts to explain the how MSMQ can be implemented between two forms and the very basics of message queuing.
  • DataTable in C#Feb 17, 2004. The ADO.NET DataSet is a data construct that can contain several relational rowsets, the relations that link those rowsets, and the metadata for each rowset. The DataSet also tracks which fields have changed, their new values and their original values, and can store custom information in its Extended Properties collection. The DataSet can be exported to XML or created from an XML document, thus enabling increased interoperability between applications.
  • Tablet PC - Frequently Asked QuestionsApr 01, 2004. This article answers some of the frequently asked questions related to Tablet PC and Tablet PC application development.
  • Grid View Control V - Sizing and Tabbing in the GridViewMay 05, 2004. This article is in response to forums question how do I resize and use tabbing in GridView control.
  • Evolving Numeric Series using Genetic Algorithms in C#Jul 27, 2004. If you ever browsed around the book store, you'll notice these puzzle books or IQ test books and some of the books contain questions asking you to complete a series of numbers.
  • Using Web Browser Options in C# and VB.NETSep 21, 2004. I wrote this article in Sept 2001 in response to a question on discussion forums - how to create a Web Browser in C#? Recently, I got a question on how to use Browser's Save As option programmatically. This article explains how to use Web Browser ActiveX to your project to developer your own customized Web Browser and use its options.
  • Convert a Comma Delimited String to an Array in C#Aug 01, 2005. This article shows how to convert an array to a comma delimited string in C#.
  • Binding an ArrayList with DataGrid ControlOct 24, 2005. I have seen several questions on how to bind an ArrayList with data-bound controls such as a DataGrid. In this step by step tutorial, I will show how to create an ArrayList of objects and bind it to a DataGrid control.
  • Hashtable in C#Nov 14, 2005. Hashtable is useful when you need to store data in a key and value pair. This article shows how to use hashtable in C#.
  • Revised Generic 'T, K' Database ComponentDec 20, 2005. This is the code behind the Generic 'T, K' Database Component.
  • Learning Delegates in C#, an IntroductionJan 03, 2006. There is this thing in C# called a delegate, which is going to be crucial to build interactions between our objects. What’s a delegate, you ask? Good question. A delegate is a pointer to a method. What’s that mean? Just like you can pass variable by reference, you can pass a reference to a method. Let me give you an example.
  • Wrapper Patterns in C#, Part III: The Decorator PatternFeb 15, 2006. Did you ever wish for a superhuman power to be impervious to bullets or travel outside your body? How about the superpower to be able to breathe underwater or fly? Or how about a changing the way you look so you can disguise yourself as anyone, or anything? In this series of four articles, we will travel down the C# rabbit hole and see how it is all possible with some wrapper patterns: Proxy, Decorator, and Adapter.
  • Wrapper Patterns in C#, Part IV: The Adapter PatternFeb 16, 2006. In this series of four articles, we will travel down the C# rabbit hole and see how it is all possible with some wrapper patterns: Proxy, Decorator, and Adapter.
  • The C# Value Type and BoxingFeb 17, 2006. Even though with the .NET framework we don't have to actively worry about memory management and garbage collection (GC), we still have to keep memory management and GC in mind in order to optimize the performance of our applications. One of the things we need to be aware of is how the Common Language Runtime (CLR) deals with references to value types.
  • How to Pass Control Values between Windows FormsMar 03, 2006. There are many questions about how to pass control's values from one form to another. This article is a step by step tutorial on how to pass a TextBox value from one windows form to a second form.
  • C# Interface Based DevelopmentMar 06, 2006. When trying to build maintainable, reusable, and flexible C# code, the object oriented nature of C# only gets us 50% of the way there. Programming to interfaces can provide us with the last 50%. Interfaced-based design provides loose coupling, true component-based programming, easier maintainability and it makes code reuse much more accessible because implementation is separated from the interface.
  • Add some elegance to your code using C# ListMar 31, 2006. A short and to-the-point tutorial that demonstrates how to sort and search using List in C#.
  • C# Defensive Event Publishing Using InterfacesApr 03, 2006. This article explains how to use interfaces for C# Defensive Event Publishing.
  • Top 10 Reasons to Switch from Java to Visual C#Jun 03, 2006. This article details the major reasons for Java programmers to consider switching from the Java language to Visual C#.
  • Simple Password Encryption ProgramOct 31, 2006. This article shows you how to make a simple password encryption program.
  • C# Introduction to Fuzzy Computing: Part INov 15, 2006. Boolean logic often fails to adequately simulate real-world conditions because things are never simply just black and white (or zeroes and ones) but exist in millions of shades of grey. This article is a brief introduction to the subject of fuzzy computing through demonstration of a few of the core principles using a fuzzy controller.
  • Dynamic Code CompilationNov 30, 2006. This article throws light on how a code can be built dynamically, compiled and run.
  • How to Bring up a Find Dialog in the WebBrowser Control using Managed C++Feb 07, 2007. This article will answers the question, "how do I bring up a find dialog in the Web Browser Control?". As easy as you would think this should be, it actually requires some COMplicated manipulation.
  • Word automation using C#May 11, 2007. Word Automation through C# is all about programmatically generating the Word Document using C# code. Almost all of the tasks which we perform on word 2003 can be done programmatically using C# or VB.
  • How Do I Bring a Microsoft Word Table into a DataGridView?Jun 12, 2007. This Article will answer the question: "How do I import a table in MS Word into a DataGridView using Visual Studio's built in Tools for Office.
  • Lotto Program in C#Jul 16, 2007. It is a small Lotto-Program which can help you fill your lotto ticket. It is written in C#.NET 2.0 by using Visual Studio 2005.
  • 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?’
  • Points to remember about .NetSep 11, 2007. This article will give you some tips about .Net. This could be helpful for you especially when you prepare for interviews.
  • Best Practices for handling exceptionsSep 18, 2007. This article shall explain some of the best practices when you deal with exceptions.
  • Database and SQL Server FAQ: Part IDec 31, 2007. This article is a primer on databases and Sql Server. Similar to a FAQ, it is written with questions that could potentially be asked in a job interview.
  • What's really differs an Interface from a class?: Part IIApr 28, 2008. In this article, I will respond to the second question posed in the previous one. Part I-What's really differs an Interface from a class?
  • What really it differs an Interface from a class: Part IIIApr 29, 2008. As a response to the third question asked in the first article Part I-What really it differs an Interface from a class? I can say that also interfaces play others important roles. They can serve as a powerful tool to explore objects
  • How to Generate an XML Document Rogrammatically Using DOM: Part IJun 19, 2008. In fact, I wrote this article as an answer of one among questions posted as a part of a C sharp corner forum. I will enumerate methods of how to do that through three articles, the first one illustrates how to do that using DOM technology
  • Connect to an Excel file as a data source via OBDCJun 30, 2008. This article provides answer to questions asked about how to connect to an excel file as a data source for a given application, I provide the solution via this ten steps walkthrough.
  • Power of Yield, Generics and Array in C#Jul 14, 2008. This article tells you an additiional way to get reverse processing of array with help of generics and yield.
  • Design Pattern Interview Question Part 1Nov 04, 2008. This article talks about factory, abstract factory, prototype pattern from interview point of view.
  • Software Architecture Interview Questions Part 2 ( Design pattern )Nov 06, 2008. In this article we will cover Interpreter pattern,iterator pattern,mediator pattern,memento pattern,observer pattern from Interview perspective.
  • UML Interview Questions Part 1Nov 09, 2008. In this section will be cover Use case digrams,Class digrams,Composite digrams,Sequence digrams,Object digrams
  • Image Slideshow in WPFNov 17, 2008. In this article, I will create a simple image slideshow using WPF and C#.
  • XAML and C# -Introduction: Part IDec 18, 2008. This article is supposed to be an introduction to Data Binding logic within Silverlight 2 context, five questions are introduced in this context and they will be answered briefly in this introductry article and in more details in the subsequent parts.
  • ASP.NET FAQ's: Part 2Feb 02, 2009. This is Part 2 of ASP.NET Interview Questions section in this also we will touch base on one of important concepts in ASP. NET.
  • Six SigmaFeb 05, 2009. Below is a quick revision which will give you a decent understanding of Six sigma from interview point of view.
  • SQL Server - FAQ'sFeb 16, 2009. In this article we will go through the most basic and frequently asked interview questions on SQL Server.
  • Web Browser in C#Mar 16, 2009. The attached project is a Web Browser application created in C# 2.0.
  • Crystal and Reporting Services Interview Questions - Part 1Apr 02, 2009. This Interview Questions will give you a quick start for two report giant’s crystal and reporting services.
  • 21 Important FAQ questions for WPF and SilverLightMay 17, 2009. This article talks about 21 important FAQ from the perspective of WPF and Silver light. Both of these technologies are connected to a certain extent. This article not only explains the theory aspect of these technologies but also shows small samples for each of them.
  • Sharepoint Interview Questions and AnswersMay 18, 2009. Sharepoint Interview Questions and Answers
  • Struct in C#Jun 08, 2009. In this article, you will learn how to define structs in C#, where and how to use them and what is the difference between structs and classes.
  • Enums in C#Jun 11, 2009. This article demonstrates how to use enumerations in C#.
  • C# DelegatesJun 15, 2009. The delegate topic seems to be a confusing and tough for most of the developers. In this article I will explain the basics of delegates and Event handling in C# in a simple manner.
  • Silverlight FAQ part 2 (Animations and Transformations)Jun 23, 2009. This FAQ is completed dedicated to animations and transformations using Silverlight. The tutorial starts with animation basics like timelines and storyboard. Later the article moves ahead to talk about different animations supported and we finally end the tutorial with a simple rectangle animation.
  • WCF FAQ Part 3 - 10 Security Related FAQJun 23, 2009. In this article we will start with transport and message security understanding. We will then see simple code samples of how to implement transport and message security using WsHTTP bindings. We will also see what is the difference between ‘BasicHttpBinding’ and ‘WsHttpBinding’ with the help of a simple source code. WCF security is a huge topic by itself, but we are sure with this article you will get a quick start of how to go about WCF security.
  • Indexers in C#Jun 29, 2009. In this article, I discuss indexers in C# and how to use them.
  • Insertion at the begining of a Linklist in C#Jul 11, 2009. This code snippet shows how to insert data to a Linklist at the beginning.
  • LINQ FAQ for Newbie's Jul 13, 2009. In this section we will run through basics of LINQ and then see 5 basic LINQ queries which you will always need in your project for queries. While looking at the basics we will also try to learn what problem LINQ solves from the perspective of middle tier business objects.
  • Sending mails with attachments using GmailAug 14, 2009. Many times I came across the question that how can we send mails with some files as attachments and in continuation do we reaky need to buy some domain of our's to send mail or there is a domain using which we can send mails using gmail or yahoo or hotmail accounts. so the answer. So I decided to write this article which will help in solving the above quest.
  • Implement Master Pages in SilverlightAug 21, 2009. There are several posts about how to implement the master page feature in Silverlight. So the question is do we really need this master page feature in Silverlight. If there is an advantage to use the master page features in ASP.NET, then I can’t see a reason why Silverlight can’t take advantage of this as well. This article will demonstrate how to build a traditional master page style application in Silverlight.
  • Programmatically Compress and Decompress FilesSep 09, 2009. Learn how to compress and decompress files programmatically via .NET.
  • Refactoring: Magic NumbersSep 14, 2009. Learn how to improve your code using Magic Numbers refactoring.
  • StringReader in C# Dec 09, 2009. In this article I will explain you about StringReader and StringWriter Classes in C#.
  • FileSystemWatcher in C#Dec 14, 2009. In this article I will explain you about FileSystemWatcher and IOException Class in C#.
  • Text Editor in C#Jan 02, 2010. In this article I will explain how to make a Simple Text Editor in GDI+ using C#.
  • View Image in C#Jan 27, 2010. In this article I will explain about view images in C# using GDI+.
  • Marshaling UnionsFeb 21, 2010. In this article you will learn how to marshal C/C++ Unions in C#.
  • JQuery FAQFeb 24, 2010. Here are some frequently asked questions about JQuery.
  • Creating a Sound Recorder in C and C#Mar 23, 2010. In this article we will learn how to record audio and play sound files in C and C#.
  • Creating a Printing Application using Windows Forms and C#Apr 30, 2010. This article talks about how to create a simple printing application in C# using GDI+.
  • Printing Multiple Pages in C#May 31, 2010. In this article you will learn how to print multiple pages in C# using GDI+.
  • CheckBox in C#Jun 03, 2010. A CheckBox control allows users to select a single or multiple options from a list of options. In this article, I will discuss how to create a CheckBox control in Windows Forms at design-time as well as run-time. After that, I will continue discussing various properties and methods available for the CheckBox control.
  • MenuStrip in C#Jun 08, 2010. The MenuStrip class is the foundation of menus functionality in Windows Forms. If you have worked with menus in .NET 1.0 and 2.0, you must be familiar with the MainMenu control. In .NET 3.5 and 4.0, the MainMenu control is replaced with the MenuStrip control.
  • Basic Question on Silverlight TechnologyJun 11, 2010. In this article you will learn basic questions on Silverlight Technology.
  • CheckBox in C#Jun 11, 2010. A CheckBox control allows users to select a single or multiple options from a list of options. In this article, I will discuss how to create a CheckBox control in Windows Forms at design-time as well as run-time.
  • DomainUpDown in C#Jun 21, 2010. A DomainUpDown control allows users to provide a spin (up/down) interface to move through pre-defined strings using up and down arrows. In this tutorial, we will see how to create a DomainUpDown control and use it in a Windows Forms application.
  • NumericUpDown in C#Jun 22, 2010. A NumericUpDown control allows users to provide a spin (up/down) interface to move through pre-defined numbers using up and down arrows. In this tutorial, we will see how to create a NumericUpDown control at design-time as well as at run-time.
  • Dictionary in C#Jul 10, 2010. A Dictionary class represents a dictionary in C# that is used to represent a collection of keys and values pair of data. This article demonstrates how to use a dictionary in C#.
  • Understanding Message Box in Windows Forms using C#Jul 12, 2010. MessageBox control displays a message with specified text. A message box may have some additional options including a caption, icon, and help buttons. In this article, I will discuss how to use the MessageBox class to display messages in Windows Forms and C#.
  • Toolbar in C#Jul 18, 2010. Toolbar control is not available in Toolbox of Visual Studio 2010. ToolStrip control replaces Toolbar in Visual Studio 2010. But for backward compatibility support, Toolbar class is available in Windows Forms. In this article, I will discuss how to create and use a Toolbar using Toolbar class in a Windows Forms application.
  • ImageList in C#Jul 18, 2010. In this article, I will discuss how to create an ImageList control and how to use its properties and methods to use in a Windows Forms application.
  • ComboBox in C#Aug 09, 2010. A ComboBox control is a combination of a TextBox and a ListBox control. Only one list item is displayed at one time in a ComboBox and other available items are loaded in a drop down list.
  • How to Approach a .NET InterviewAug 14, 2010. If you find yourself in a position where you need to find a new job, you have to deal with the incovenient but necessary interview process. This article will give you some of the tools you need to shine when interviewing for a technical programming position.

About Csharp-interview-Question

csharp interview question
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!
VSLive! Anaheim