C# Corner

Resources  
  • SQL Programming using .NETFeb 01, 2001. This program shows several data objects, some draw backs of each and some interesting things.
  • Complex Numbers ClassMar 20, 2001. This small example demonstrates using some of the interesting language elements of the C# language.
  • ADO Vs ADO.NET Web ServiceMar 22, 2001. In this example I'd like to demonstrate one of the most interesting features of the .NET runtime - the concept of Webservices.
  • Love CalculatorApr 11, 2001. This is an application can be used to calculate degree of love.
  • Creating a screen saverJun 21, 2001. Creating a screen saver is an interesting topic. A screen saver is a maximized form that contains no borders and caption.
  • Basic Database operations using ADO.NETAug 21, 2001. I found very interesting database features incorporated into the .NET as ADO.NET.
  • Easter CalculatorAug 22, 2001. This program calculates the dates for Easter for any given year and for an hundred years.
  • Constructor, Destructor and ILASMSep 20, 2001. I find C# a very interesting language and it also comes handy to analyze ILASM code.
  • Docking Control in C#Oct 16, 2001. One of the first features of C# that took my interest was the ability to Dock a Control onto the edge of a Form.
  • Financial Loan Calculations using C#Feb 17, 2002. This C# Application calculates the monthly payment for a loan, given the loan amount, interest rate and the loan period.
  • Mortgage Calculator in C#Mar 22, 2002. Mortgage Calculator is a C# Application developed for calculating the detailed monthly mortgage payments based on the loan amount, down payment, interest rate, mortgage duration.
  • Implementing a Genetic Algorithms in C# and .NETApr 14, 2002. One of the more interesting developments that has come out of the Artificial Intelligence world is the invention of Genetic Algorithms.
  • Unit Conversion Tool for Pocket PC with Compact FrameworkMay 22, 2002. I have created a Unit conversion tool to calculate conversion from 16 different types.
  • Why Object Orientation for COBOL?Jul 08, 2002. Why is Microsoft interested in having so many languages target the new environment?
  • Evaluating Neper's Numbers in C#Jul 22, 2002. One of the most interesting number in mathematics is the Neper's number : "e".
  • 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.
  • Project Trilma .NETFeb 19, 2003. In 1883 George H. Monks from Boston designed Halma, an interesting board game with simple rules.
  • Add Column Dynamically to DataGrid to Display CalculationMay 08, 2003. In this article we'll see how to create a DataGrid column which displays the calculation of more than one field in the database table. The calculation could be addition, multiplication or even filtering rows.
  • May Reflection be With you AlwaysJul 02, 2003. So let me present the example where we can use Reflection and Reflection.Emit to do something interesting.
  • May Reflection be with you, alwaysJul 02, 2003. So let me present the example where we can use Reflection and Reflection.Emit to do something interesting.
  • Virtual Oscilloscope using PIC Microcontroller Oct 23, 2003. An oscilloscope is probably the most important instrument for observing and measuring electronic circuits.
  • A Simple Virtual Voltmeter Using GDI+ and the GP-3 BoardDec 07, 2003. This is a less complex, nevertheless interesting example of how to use the same board to create a simple voltmeter.
  • Virtual Voltmeter using GDI+ and GP-3 BoardDec 09, 2003. This is a less complex, nevertheless interesting example of how to use the same board to create a simple voltmeter.
  • Using the Tablet PC as a Flashing Restaurant Menu in C# and .NETJun 08, 2004. This is a simple application written for a restaurant using Tablet PC that allows you to list such things as lunch specials and have the colors on the board change randomly to produce an interesting flashing sign effect.
  • Handling the Queuing of Messages in a Multithreaded ProgramSep 06, 2004. In the financial world you have to deal with messages being spewed at you in large quantities at a rapid rate. For example stock quotes, market data, and orders come flying at you through some sort of wire and you as a programmer have to handle them in a way that doesn’t overwhelm you or the machine.
  • Building Stacks with C#Jun 23, 2005. The following article presents a general definition of the stack data structure and its most common functions. This article explores a sample stack implementation as a .NET class in C#, as well as some interesting usage scenarios.
  • Building Stacks with C#Jun 23, 2005. The following article presents a general definition of the stack data structure and its most common functions. This article explores a sample stack implementation as a .NET class in C#, as well as some interesting usage scenarios.
  • Swimming with the Sharks : How to Handle Recruiters when Seeking a .NET PositionJul 21, 2005. This article describes how to deal with recruiters in Manhattan, and gives some tips on negotiating for rates and salaries.
  • 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.
  • 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.
  • C# 2.0 Yield Return IteratorApr 04, 2006. One interesting new feature of the C# 2.0 is the “yield” keyword. Basically it is used to iterate through objects returned by a method. It creates a state engine in IL so you can create methods that retain their state and don’t have to go through the pain of maintaining state in your code.
  • C# Anonymous Methods & The Action ObjectApr 04, 2006. Two interesting additions to the 2.0 C# language are the Action<> object, and anonymous methods. The Action<> object lets you specify an action to be performed on an object and the anonymous method lets you specify a method with no body (thus... the anonymity).
  • Calculating Date Difference in C#Sep 14, 2006. This article introduces the various options for calculating the date difference in C#.
  • Spell check enabled RichTextBox custom controlMay 16, 2007. This article describes a quick and simple approach to applying a spell check function to the rich text box control and bundling both features into a single custom control. Of course there is nothing novel or particularly interesting about performing spell checking upon a selection of text using the Word.DLL.
  • 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.
  • C# Asynchronous Multi-Threaded Active Directory User/Group BrowserOct 01, 2007. I was working on a win forms project that queries Active Directory information for user and group information and thought the approach may be of interest to some c-sharpcorner readers as a simple example of a asynchronous multi-threaded win forms application.
  • Functional Programming with C#: Dynamic List GenerationJan 27, 2008. This article covers how to use functions as the basis for generating lists given some initial seed values. This technique is useful for constructing different types of numeric series, calculating growth and decay, and also useful for searching algorithms.
  • Understanding Pattern Matching in F#Apr 30, 2008. F# introduces a code structure called pattern matching which allows you to perform some pretty interesting tasks in the language. This article will get you up to speed with this powerful technique in programming.
  • How to Generate an XML Document Programmatically-Using System.Xml.XmlWriter: Part IIIJun 26, 2008. In previous articles, I demonstrate how to generate a given xml file using both the DOM “Document Object Model” and the SAX “Serial Access parser for Xml” technologies. In fact, they are very interesting API for handling xml entities or files but the dot net provides us another way to achieve the same goal.
  • Assessing Dates of Birth Using C#Aug 20, 2008. This article describes an approach to assessing the difference between a specified beginning and end date. The example was written in the context of comparing a birth date to a specific end date but the same approach could be used to calculate the number of years, months, and days between a specified start and end date.
  • How to define conditional fields in anonymous typesOct 23, 2008. In this article I would like to show how to define conditional fields in anonymous types I think it is very interesting and useful.
  • Draw a smooth curve through a set of 2D points with Cubic SplineDec 24, 2008. Calculate tabulated function cubic spline and approximate comprising polynomials with polylines to use them with drawing primitives.
  • Interesting things to do with Silverlight 2Jan 05, 2009. This article will show you how you can experiment with Silverlight.
  • Calculating the normalized compression distance between two stringsJan 20, 2009. The normalized compression distance (NCD) is a mathematical tool to cluster any objects that are similar. Besides, this article discusses the use of two RichTextBox controls for pasting and copying of text. It also introduces the use of the ContextMenuStrip control.
  • Financial Calculation using .NET: Part IMar 18, 2009. In this part we will understand how we can calculate the future value for a given rate of interest, period and monthly invested amount.
  • Microsoft Technology OverviewMay 21, 2009. In today’s fast changing technology, keeping up with technological changes is a challenge. Every time we try to keep up with technology changes, technology changes again. It is never ending chase to catch up with technology and that is what makes software development even more interesting. Focus of this article is to give developers, project managers a quick view of many of new Microsoft technologies out there and help them realize the value of these new technologies. To be frank, technologies covered here are not new and some of them were introduced to IT world, 3 to 4 year ago. But in relative terms, these are still new technologies in Microsoft world as real-world projects and products might take some time to adapt to these changes in technology.
  • C# 4.0: Named ParametersJun 15, 2009. C# 4.0 has introduced a number of interesting features which includes Optional Parameters, Default Values, and Named Parameters.
  • Scientific Calculator in C#Jul 08, 2009. The attached project is a Scientific Calculator application developed using C#.NET. It allows you to calculate sin, cos, tan, sin inverse , cos inverese, tan inverse with radian or degree. It also has square root, cubing, squaring and many more features.
  • Triple DES Encryption and Decryption using User provided keyOct 29, 2009. In this article, I will explain how to do a Triple DES encryption on a plain text using user provided key. I will calculate a MD5 Hash on the key provided by the user. And that key will be user to encrypt and decrypt the message.
  • Rating Control in WPF ToolkitMar 09, 2010. Rating Control is introduced in WPF Toolkit February 2010 release. In this article we will see how we can use the Rating Control.
  • Quick Themes in ASP.NETMay 03, 2010. As you know themes is one of the interesting features of asp.net. It makes the webpage attractive.
  • Animation in SilverlightJun 09, 2010. In this chapter you will be learning the basic fundamental concepts of Animations in Silverlight Application, which includes Animation Types, namespace details, classes, objects used, implementation of different types of animations with XAML and with C# code and some more interesting samples for each animation.
  • Basics of Data Communication: Part 3Jul 15, 2010. This article will explain, Data Transmission, configuration, Time Domain Concepts, Frequency Domain Concepts, Why Digital Communication, Bandwidth, Data Rate, Channel Capacity, Error Rate, Noise, Nyquist Sampling Rate, Shannon Channel Capacity, Line Coding, Modem and Digital Modulation etc.
  • How to Display SharePoint Blog Post ArchivesSep 08, 2010. In this article I am showing how to make a share point blog post archive using share point calculated column and Data view. It will be helpful with default SharePoint blog template.
  • Combine Command in the Object menu of Microsoft Expression BlendSep 16, 2010. Combine Command in the Object menu of Microsoft Expression Blend to create interesting effects – Combine command can be used with shapes or paths to make your drawing or artwork more powerful.
  • Have you Questioned Yourself, Why my Browser is too Slow?Sep 17, 2010. To load the web page, your browser will traverse 11 sub systems or steps to display your web content :-) Interesting right !!! Let's see,
  • Going on a Safari, Don't Pet the Books!Oct 14, 2010. In the old days, I liked to walk into a Borders Bookstore and wander up and down the technical aisle to see if anything caught my eye. Like many impulsive buyers, I invariably found a useful book and justified its purchase as a business expense. These days, the thought process is a little different. I'll walk into Borders, find an interesting technical book, go home and try to find it on Amazon for a fraction of the cost. Of course if you find yourself buying a lot of technical books over the course of a year, I have a better option: a subscription to Safari Books Online, a vast repository of technical books.
  • Magic's and Validation Nature of a Round Function in SQL ServerDec 07, 2010. I happened to be working with the round function. I found some interesting / peculiar nature of the round fucntion. Hope you will enjoy this article.
  • Extended prime number finder AlgorithmDec 20, 2010. I wrote this article to explain how to calculate large prime numbers using this struct.
  • Rating for documents in SharePoint 2010Jan 10, 2011. In this article we will be seeing how to rate documents in the SharePoint 2010.
  • Building Applications that Can TalkJan 21, 2011. In this article we are going to explore the Speech API library that’s part of the TTS SDK that helps you reading text and speaking it. We’re going to see how to do it programmatically using C# and VB.NET and how to make use of LINQ to make it more interesting. The last part of this article talks about…… won’t tell you more, let’s see!
  • Calculate the Working Days Between Two Given Days in C#Jan 26, 2011. In this article we will discuss how to calculate the number of working days between the two given days in C#.
  • Find nth element from last in a Linked ListJan 27, 2011. One very interesting problem is to find the nth element from the end in a linked list. Now it's very easy to find the nth element from the beginning of the list and can be done in one traverse. So what are the various solutions we can think of.
  • Creating ToolTip in SilverlightFeb 03, 2011. Silverlight has a flexible model for tooltips (those infamous yellow boxes that pop up when we hover over something interesting). Because tooltips in Silverlight are content controls, we can place virtually anything inside a tooltip.
  • How to create Silverlight Object in the HTML-InteropFeb 09, 2011. Browser interoperability with Silverlight and vice versa has raised many possibilities for interesting interactions and use of javascipts in ways similar to their use in ASP.Net
  • How to Read and Write Large Video Files in Silverlight OOB ApplicationFeb 20, 2011. In this article, we will see how to read and write large video files in a Silverlight OOB Application. The interesting thing here is that one of my questions in the c-sharcorner site’s forum became this article.
  • Calculating the Sum inside a table using JqueryFeb 23, 2011. Here is one sample code to sum the column values using jquery.
  • How to calculate total at the Backend using TriggerFeb 28, 2011. How to do Some Backend Calculations Using Triggers for Increased Security
  • The Voyage of Internet Explorer Mar 08, 2011. In this article I am describing the journey of Internet Explorer. How it became the most prevalent across the web community. It is interesting to see how IE grow up to this stage.
  • Finding the First and Last Day Of A Month in C#Mar 10, 2011. A code snippet that shows a quick way to calculate the first and last days of any month.
  • Using The Complex Type to Solve Quadratic EquationsMar 14, 2011. One of the more interesting types introduced in .NET Framework 4.0 is the Complex structure which models the mathematical entity known as a 'complex number'. This is a number of the form a + bi where i represents the square root of -1.
  • AJAX Rating ControlMar 15, 2011. This article demonstrates how to use a Rating Control in ASP.Net using Ajax
  • Creating a Console ListBox in C#Mar 21, 2011. C# developers who are interested in console programming are often frustrated by the lack of user interface features which the console has compared to Windows Forms and WPF applications.
  • AJAX Drag Panel Extender ControlMar 29, 2011. This article demonstrates how to use Ajax's Rating Control in ASP.Net.
  • Using Memory-Mapped FilesMar 30, 2011. MemoryMappedFile is an interesting new class in version 4.0 of the .NET Framework which resides in the System.IO.MemoryMappedFiles namespace.
  • Maintaining Scrollbars in Document Editing ApplicationsMay 15, 2011. When coding a document editing application, maintaining scrollbars is a task that must be done correctly to have an accurate and responsive document viewer. This article gives precise instructions how to calculate values of different scrollbar attributes so that scrolling functionality is coded correctly.
  • Get a Conversion Rate From One Currency to Another CurrencyJun 06, 2011. Here we are developing a web application that is used for getting a conversion rate for converting from one currency to another currency. For developing this application we need a web service to find the current conversion rate of currencies.
  • Observer Design Pattern in C#Jun 10, 2011. In this article I am trying to implement the Observer design pattern. There are numerous articles on this pattern, even though I found interesting to create one.
  • Methods for Converting Office Documents to PDF or XPS with C#Jun 12, 2011. Recently, I had a great interest in how to convert Office documents to PDF or XPS. Therefore, I collected lots of materials. Now, I want to share a method I think is useful.
  • Rate Control in JavaScriptJun 27, 2011. Here we create a Rate Control with the help of JavaScript.
  • Arrays in JavaJul 14, 2011. An array is a fundamental concept in core Java and is widely used in Java development. So, lets start an interesting topic.
  • Properly Handling Control.MinimumSize Property in Windows Forms ApplictaionsAug 04, 2011. This article explains, and demonstrates through a relatively complex example, proper way of calculating MinimumSize property value at runtime. Result is that all controls can be rendered without loss caused by insufficient size of their parent controls.
  • Working with SharePoint RatingsAug 26, 2011. As we know that with the launch of SharePoint 2010 version, we got new social features like content tagging and content rating. For content ratings, we can rate the different contents in the list and libraries in range of 0 to 5.
  • How to enable and disable SharePoint 2010 rating programmaticallyAug 27, 2011. Enabling and Disabling the SharePoint 200 rating functionality programmatically.
  • XSN Inside Part 2: The Code ReturnsNov 10, 2011. After we get a basic overview of the files in the .xsn package, let’s move onto something more interesting, something more code oriented.
  • Concept of a Delegate in C#Nov 12, 2011. An interesting and useful property of a delegate is that it does not know or care about the class of the object that it references. Any object will do; all that matters is that the method's argument types and return type match the delegate's
  • Tailoring Site Responses to Microsoft Tag RequestsNov 16, 2011. Microsoft Tag is interesting alternative to the use of typical QR tags; the response options to reading a Microsoft Tag include returning the user’s rough position as latitude and longitude or a postal code.
  • Rating Control in AJAXNov 23, 2011. In this article we use CSS and simple javascript code to create a dynamic rating control in AJAX. The script that allows users to select the control after the user has locked in their rating.
  • 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.
  • Loading Assembly Dynamically and Calling Method (Modular Programming)Dec 12, 2011. Modular programming with silverlight is a really interesting topic. Because, Modularizing program plays a very important role while developing rich internet applications. As applications grow, there could be possibilities of performance hit due to not handling correctly.
  • Send mail on local host via Mercury with XamppDec 17, 2011. In this article we are going to have some interesting things with PHP; we are going to send mail via mercury with XAMPP.
  • Fault Contract Exception in WCF Hosted on Web AppDec 31, 2011. Today, in this article let’s try to study and implement this interesting concept. It enables to show a friendly message to user when unexpected values are inputted. It works great. So, we all are good to go and implement this wonderful concept.
  • Let's Play Around With Channel Factory in WCF Service Hosted on Web AppJan 08, 2012. Today, in this article let’s play around with one of the most interesting topic in WCF and we will try to implement this concept such that we can get much better idea on idea to handle the real time case scenarios.
  • Default Endpoint Case Scenario Implementation in WCF 4.0 Hosted on Web AppJan 08, 2012. Today, in this article let’s learn one of the most interesting and top most feature of WCF 4.0. This Implementation of Default Endpoint made life easy and simplified process of implementation. This concept is highly attracted by many and many organizations love to use it.
  • Finding Route Between Two Locations in Windows Phone 7 Using Bing MapsJan 12, 2012. In this article you'll know how to plot two points on the map and calculate the route between them.
  • How to Get Device Information Using PhoneGapJan 17, 2012. In this article we are going to have a very interesting part, that is getting information about the device using a PhoneGap application. PhoneGap provides the device class that can retrieve the information.
  • Working With JavaScript, CSS And HTML in PhoneGapJan 18, 2012. In this article we are going to have a very interesting session with PhoneGap Photo application. In this application we will have a very close look at HTML, JavaScript and CSS.
  • How to Find Longitude & Latitude of Geolocation in PhoneGapJan 21, 2012. In this article we are going to have a very interesting session with a PhoneGapPhoto application. In this application we will find the different Geolocations with a PhoneGap Application.
  • Code for How to Save Phone Number in Windows Phone 7 via WCF Enabled ServiceJan 22, 2012. Today, in this article let’s see one of the most interesting and highly used application by most of us in windows 7 phone. This article clearly gives an idea for how to write the code to save phone number in windows phone 7 whereby communicating with WCF Service.
  • Protocol Mapping in WCF 4.0 Hosted on Web AppJan 22, 2012. Today, in this article let’s dig out an interesting and wonderful concept. This concept is made life better and delivers high in throughput.

About Calculate-interest-rate

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