Thursday, 29 October 2015

How to find files in directory using c#?

0
Getting a file path : // This will give the complete path to the folder name  ( ~ File)such as  //C:\Users\Kumarg\Documents\Visual Studio 2010\Projects\Tag_Cloud\Tag_Cloud\File string path = Server.MapPath(" ~/folderName");    Getting all files path under...
Read More »

Wednesday, 28 October 2015

Uploading and Reading a file in asp.net

0
Design <strong> Upload File</strong> <asp:FileUpload ID="txtfileUpload" runat="server"/> <asp:Button ID="btnViewFile" runat="server" Text="Add File" onclick="btnViewFile_Click" /> <span><asp:TextBox ID="txtMain" runat="server" TextMode="MultiLine"></asp:TextBox> ...
Read More »

Tuesday, 27 October 2015

Abstraction basics in C#

0
Abstraction is general means dealing with ideas rather the events. Through the process of abstraction, a programmer hides all but the relevant data about an object in order to reduce complexity and increase efficiency. In the same way that abstraction sometimes works in art, the...
Read More »

Heap and Stack

0
The Stack is more or less responsible for keeping track of what's executing in our code (or what's been "called").  The Heap is more or less responsible for keeping track of our objects (our data, well... most of it; we'll get to that...
Read More »

Monday, 26 October 2015

Boxing and Unboxing

0
Boxing and unboxing is a  essential concept in .NET’s type system. With Boxing and unboxing one can link between value-types and reference-types by allowing any value of a value-type to be converted to and from type object. Boxing and unboxing enables a unified view of the type system...
Read More »

How to make dll files using visual studio ?

0
Making DLL files Using visual studio Step 1 Take a class library project from visual studio. Step 2 Open the class1 file, which is created by default or add any other as per the choice and requirement. Step 3 write down the logic part which is need to be used in the related project. Step...
Read More »

Access Modifiers with example

0
Public:  As the name species it it available to all, means the members marked public are available within and outside the class. Example: public class A {   public int add(int a, int b)   {     return a + b;   } }  class B {    A a...
Read More »

Encapsulation in C#

0
Encapsulation is one of the main concept of Object-Oriented Programming. You must have seen and had a capsule (medicine) in life as a gift from doctor when you get ill. Capsule mainly consist some powder substance in it  which is...
Read More »

Friday, 23 October 2015

Array

0
Arrays  It has element of any one type. Elements are accessed with an index. Index start at zero. Consider you want to add all your friends name somewhere. Adding them like this string frnd1 = "John"; string frnd2 = "Ram"; string frnd3 = "Rohit"; This format of adding...
Read More »

Basics of Dictionary

0
Dictionary "Dictionary" in C# programming  make use of 'hash table' data-structure to build up the index/ value pair. Like our normal dictionary it consist of an index and with reference to index it has one more values. (Apni oxford dictionary and c# k dictionary m koe anter nhi...
Read More »

Wednesday, 21 October 2015

Classes in C#

0
CLASS A class is a construct that enables you to create your own custom types by grouping together variables of other types, methods and events. A class is like a blueprint. It defines the data and behavior of a type. If the class is not declared as static, client code can use it by creating...
Read More »

.Net Architecture and working

0
.NET Framework - Basics Software framework developed by Microsoft. includes a large class library - Framework Class Library (FCL). it has application virtual machine know as Common Language Run-time (CLR). Framework Class Library collection...
Read More »