DotNetShoutout - Stories tagged with C# 4.0 .NET
2
Shouts

Optional parameters (Use and Limitation)

published 861 days, 22 hours, 31 minutes ago posted by http://pranayamr.myopenid.com/http://pranayamr.myopenid.com/ 862 days, 16 hours, 42 minutes ago
Wednesday, February 09, 2011 1:28:37 PM GMT Tuesday, February 08, 2011 7:17:40 PM GMT
What is Optional Parameter(s) ? In C#4.0 Optional parameter allows to create method(s) with the parameters which is having default values with it. Syntax Accessmodifier ReturnType NameOfMethod(Type param1, Type Pram2,....,Type Param(n-1)=DefultValue,Type Param(n)=DefultValue ) { //code goes here } Example public void MyOptParamTest(int a, int b=10) { //code goes here } Points To Remeber It's very easy to implement the method with the Option Parameter(s). But one should keep in mind followi... (more)
category: How To | clicked: 1 | comment | | source: pranayamr.blogspot.com
tags: C# 4.0 .NET
5
Shouts

.NET Framework 4.0 new features analyze

posted by http://agafonovslava.blogspot.com/http://agafonovslava.blogspot.com/ 1028 days, 21 hours, 19 minutes ago
Thursday, August 26, 2010 2:40:46 PM GMT
The Microsoft .NET Framework 4.0 is a software framework that can be installed on computers running Microsoft Windows operating systems. Current version is 4.0.30319.1 (4.0) / 12 April 2010; it is supported Windows 98 or later, Windows NT 4.0 or later. Programs written for the .NET Framework execute in a software environment that manages the program's runtime requirements. Analyze of optinal parameters, dynamic types, COM interop and other features in C# 4.0 and Framework 4.0 library. (more)
category: How To | clicked: 0 | comment | | source: blog.agafonov.net.ua
tags: C# 4.0 .NET, Analyze, C# 5, C#, .Net 4.0, Features, C# .NET
3
Shouts

How To Build UAC Compatible Application In .NET

published 1116 days, 1 hour, 20 minutes ago posted by http://prashantmx.myopenid.com/http://prashantmx.myopenid.com/ 1116 days, 22 hours, 42 minutes ago
Monday, May 31, 2010 10:39:44 AM GMT Sunday, May 30, 2010 1:17:54 PM GMT
We all know about a feature called User Account Control (UAC) which introduced with the launch of Windows Vista. By default, UAC is enabled and provides users a better and safer computing experience, but most of the users find it irritating when the UAC prompts everytime they try to run a program. Disabling UAC is not recommended at all. With UAC enabled programmers find it difficult to access some of the locations on the local drive. Programatically you cannot write or create a file or directory in roo... (more)
category: How To | clicked: 11 | comment | | source: www.midnightprogrammer.net
tags: C# 4.0 .NET, w2k8, Windows 7
2
Shouts

MsHelp » Better Office COM interop thanks to named and optional parameters

posted by http://svenvanoirbeek.myopenid.com/http://svenvanoirbeek.myopenid.com/ 1257 days, 20 hours, 14 minutes ago
Saturday, January 09, 2010 3:46:06 PM GMT
Better Office COM interop thanks to named and optional parameters Posted by Sven on January 09th 2010 to .NET 4.0, COM Interop In my last screencast I showed you how to work with two new features in C#4.0 which are named and optional parameters. Now in this post I will show you another way how you can benefit from these new features. Remember when you had to create these Microsoft Word document with the Office interop API and had to pass all these tedious by ref parameters. Things yo... (more)
category: How To | clicked: 0 | comment | | source: mshelp.be
tags: C# 4.0 .NET, COM automation, Com Interop
13
Shouts

DimeCasts.Net Details for # 155 - Exploring .Net 4 Features - Tuples

published 1279 days, 1 hour, 45 minutes ago posted by derikwhittakerderikwhittaker 1281 days, 50 minutes ago
Saturday, December 19, 2009 10:14:29 AM GMT Thursday, December 17, 2009 11:10:01 AM GMT
Taking a look at some of the new features which are part of .Net 4. We will be focusing this episode on Tuples. Tuples allow you to return multiple values from a method with simplicity and ease by allowing you to dynamically create a return object which is typed for your specific needs. (more)
category: Screencast | clicked: 1 | 1 comment | | source: www.dimecasts.net
tags: C# 4.0 .NET, DimeCasts.net, Tuple