Thursday 30 July 2015

Change Background Color According to Time

Change Background Color According to Time


Step-1:-Add/Take Timer into Windows Application.






Step-2:-Create Click Event of Timer
 

Step-3:-// create object of class Random
-------------------------------------------------------------------------------------------------------------------
                    Random chng_Clr = new Random();
                     int TimeInterval = chng_Clr.Next(100000, 999999);
                     this.BackColor=System.Drawing.ColorTranslator.FromHtml("#"+TimeInterval );
-------------------------------------------------------------------------------------------------------------------

Step-4:-Run the Application.

Wednesday 29 July 2015

INRODUCTION ABOUT .NET

INTRODUCTION ABOUT .NET

.NET Framework (pronounced dot net) is a software framework developed by Microsoft that runs primarily on Microsoft Windows. It includes a large class library known as Framework Class Library (FCL) and provides language interoperability(each language can use code written in other languages) across several programming languages. Programs written for .NET Framework execute in a software environment (as contrasted to hardware environment), known as Common Language Runtime (CLR), an application virtual machine that provides services such as security, memory management, and exception handling. FCL and CLR together constitute .NET Framework.

The .NET Framework consists of the common language runtime and the .NET Framework class library. The common language runtime is the foundation of the .NET Framework. You can think of the runtime as an agent that manages code at execution time, providing core services such as memory management, thread management, and remoting, while also enforcing strict type safety and other forms of code accuracy that promote security and robustness. In fact, the concept of code management is a fundamental principle of the runtime. Code that targets the runtime is known as managed code, while code that does not target the runtime is known as unmanaged code. The class library is a comprehensive, object-oriented collection of reusable types that you can use to develop applications ranging from traditional command-line or graphical user interface (GUI) applications to applications based on the latest innovations provided by ASP.NET, such as Web Forms and XML Web services.

Factorial of a Number

Recently Viewed