| Next Tip?
Home » Archive

Articles in the CSharp Category

Asp.net, CSharp, Tutorial »

[6 Feb 2009 | No Comment | 634 views]

Introduction:
Programers of Visual Basic the keyword ‘var’ is confusing here as the type variants was used in Visual Basic.
Here, the keyword var tells to compiler emit a strong type based on t5e value of the operation on the right side.
Important:
Anonymous types can be used to initialize simple types like integers and strings.
Rules : Following are the some basic rules to use LINQ Anonymous Types.

Anonymous types can’t be null.
Must always have an initial assignment.
Can be used with Simple or complex types, but composite anonymous types require member declaration
example:
var mylist = …

CSharp, Tutorial »

[1 Jan 2009 | No Comment | 299 views]

Overview & History
First of all let me say my thanks to
Mr. Joymon whose question
inspired me to write this resource.
The present post is showing the another method to Write a CLR Proc apart from the method in my earlier post
Writting a CLR Stored Proc.
Step:Followings are the steps to start the above in Visual Studion
1. Start Visual Studio2005 or higher
2. Add new file from File -> New -> Project
3. Select Database Project [provide the name]
4. Create the project, it requires Database Reference [I used EmployeeDB here]
5. In Solution Explorer Right …

Asp.net, CSharp »

[27 Dec 2008 | No Comment | 317 views]

.Net Reflector
.Net Reflector is a very nice tool, it can de-compile and analyze dlls or assemblies to source code.
Another feature which I like is that with .Net Reflector I can de-comiple dlls to C# or VB or IL. Nice trick to translate code
Using NET Reflector
1. you can easily view, navigate, and search through, the class hierarchies of .NET assemblies, even if you don’t have the code for them.
2. You Can understand the relationships between classes and methods.
3. You can find where types are instantiated and exposed
4. You can Check …

Get Adobe Flash playerPlugin by wpburn.com wordpress themes