DotNetShoutout - Stories tagged with C#
4
Shouts

C#/.NET Little Wonders: Skip() and Take()

published 412 days, 9 hours, 16 minutes ago posted by BlackRabbitCoderBlackRabbitCoder 417 days, 19 hours, 1 minute ago
Wednesday, April 04, 2012 10:04:00 AM GMT Friday, March 30, 2012 12:19:05 AM GMT
I’ve covered many valuable methods from System.Linq class library before, so you already know it’s packed with extension-method goodness. Today I’d like to cover two small families I’ve neglected to mention before: Skip() and Take(). While these methods seem so simple, they are an easy way to create sub-sequences for IEnumerable (more)
category: Web Dev | clicked: 82 | 1 comment | | source: www.blackrabbitcoder.net
tags: .NET, Little Wonders, Take, C#, Skip, CSharp, Linq, TakeWhile, SkipWhile
3
Shouts

5 1/2 F# features every C# programmer should lust after

published 412 days, 9 hours, 16 minutes ago posted by traskjdtraskjd 419 days, 16 hours, 35 minutes ago
Wednesday, April 04, 2012 10:04:00 AM GMT Wednesday, March 28, 2012 2:44:40 AM GMT
The title says it all! F# is a great language to code in. This post lists 5 and a half features of F# that every C# programmer should be lusting after! (more)
category: How To | clicked: 73 | comment | | source: www.mindscapehq.com
tags: C#, FSharp, F#, Mindscape
2
Shouts

Yes, I Use a Text Editor for Demonstrating Code

published 428 days, 11 hours, 30 minutes ago posted by ashicashic 432 days, 17 hours, 7 minutes ago
Monday, March 19, 2012 7:49:15 AM GMT Thursday, March 15, 2012 2:12:47 AM GMT
Sometimes a text editor is all you need for cultivating ideas... (more)
category: Agile | clicked: 34 | comment | | source: www.heartysoft.com
tags: C#, Notepad
3
Shouts

C#/.NET Little Wonders – The DateTimeOffset struct

published 433 days, 11 hours, 24 minutes ago posted by BlackRabbitCoderBlackRabbitCoder 438 days, 18 hours, 39 minutes ago
Wednesday, March 14, 2012 7:55:55 AM GMT Friday, March 09, 2012 12:41:09 AM GMT
While the DateTime is a powerful structure for parsing, manipulating, and comparing date-times, it becomes problematic when handling times from different time-zones. The DateTimeOffset is much more portable in that it preserves the offset from UTC. (more)
category: Web Dev | clicked: 58 | 2 comments | | source: www.blackrabbitcoder.net
tags: .NET, Little Wonders, C#, DateTimeoffset, CSharp
2
Shouts

What is Static keyword in C# | Tech Samosa

posted by ankygoyalankygoyal 444 days, 3 hours, 49 minutes ago
Saturday, March 03, 2012 3:30:23 PM GMT
In this post let us try to explore what is static keyword in C# Definition of static keyword As per MSDN, “Use the static modifier to declare a static member, which belongs to the type itself rather than to a specific object.” So it means that static keyword should be used with types which provide generic functionality and it doesn’t make sense to create objects of that type. For example, consider the System.Math class in c#. It provide various mathematical functions which can be used in the code as... (more)
category: How To | clicked: 32 | comment | | source: techsamosa.com
tags: C#, static, basics, concepts, C# .NET
4
Shouts

The Law of Demeter

published 449 days, 9 hours, 32 minutes ago posted by BlackWaspBlackWasp 456 days, 19 hours, 56 minutes ago
Monday, February 27, 2012 9:47:43 AM GMT Sunday, February 19, 2012 11:23:14 PM GMT
Coupling in object-oriented software indicates the level to which classes are reliant upon each other. A tightly coupled system is usually harder to maintain and modify than a loosely coupled one. The Law of Demeter addresses a specific coupling problem. (more)
category: How To | clicked: 14 | comment | | source: www.blackwasp.co.uk
tags: C#
2
Shouts

Two ways of Implementing CRUD Operations in Aspnet with C# | Developers Code

published 449 days, 9 hours, 32 minutes ago posted by taanu51taanu51 458 days, 14 hours, 49 minutes ago
Monday, February 27, 2012 9:47:43 AM GMT Saturday, February 18, 2012 4:30:37 AM GMT
Hi friends,In this article i would like to explain the procedure of CRUD Operations in two ways.we already know Creation,Updation,Deletion operations are very Important.So lets start with First way that is Implementing CRUD operations Outside of the GRID.that means while we are the Editing GRID the data will be Bind to the Forms Controls.In the second way Inside the grid , that means while we are the Editing GRID the data will be bind inside. In my view First method is best. why because,   1. Editing... (more)
category: Web Dev | clicked: 40 | comment | | source: www.developerscode.com
tags: GridView, C#, ASPNET, SQLServer
2
Shouts

C#/.NET Little Wonders: The SequenceEqual() Method

published 456 days, 19 hours, 45 minutes ago posted by BlackRabbitCoderBlackRabbitCoder 459 days, 17 hours, 51 minutes ago
Sunday, February 19, 2012 11:34:36 PM GMT Friday, February 17, 2012 1:29:06 AM GMT
This post examines a handy method of the Enumerable class that allows you to check if two sequences of values are equal. Equality of two sequences is defined as two sequences of the same length with equivalent values in the same order from both sequences. (more)
category: Web Dev | clicked: 51 | 2 comments | | source: www.blackrabbitcoder.net
tags: .NET, Little Wonders, SequenceEqual, C#, IEnumerable, enumerable, CSharp, Linq
4
Shouts

SharpComments extension for Visual Studio 2010

published 460 days, 5 hours, 5 minutes ago posted by SergeyVlasovSergeyVlasov 460 days, 17 hours ago
Thursday, February 16, 2012 2:14:19 PM GMT Thursday, February 16, 2012 2:19:36 AM GMT
Change color and font size of individual comments in C# code with a prefix like //! or //+. (more)
category: How To | clicked: 38 | comment | | source: visualstudioaddins.svprogramming.net
tags: visual studio extensions, C#, Visual Studio 2010, Visual Studio
2
Shouts

Programming Language Rankings

published 462 days, 6 hours, 31 minutes ago posted by KodefuGuruKodefuGuru 463 days, 2 hours, 1 minute ago
Tuesday, February 14, 2012 12:48:59 PM GMT Monday, February 13, 2012 5:18:15 PM GMT
RedMonk has released a ranking of programming languages based on their popularity on StackOverflow and GitHub. The buzz seems to be focused on Java, which is surprising since C# left it in the dust on features. C# is still beating it in most places, but Java and a few other top tier languages have it edged out on GitHub projects. I assume this is because many C# projects are hosted on CodePlex. One interesting outlier is Rust. It appears to be popular for creating OSS projects, but there isn't a correla... (more)
category: How To | clicked: 34 | 2 comments | | source: www.kodefuguru.com
tags: Rust, C#, Delphi, Java
2
Shouts

Dean Hume - Dynamic Favicons using HTML5 Local Storage and TinyCon

published 466 days, 2 hours, 19 minutes ago posted by deanomachinodeanomachino 466 days, 10 hours, 31 minutes ago
Friday, February 10, 2012 5:00:19 PM GMT Friday, February 10, 2012 8:48:26 AM GMT
Coding Tips & TricksHomeAboutContactCV Dynamic Favicons using HTML5 Local Storage and TinyCon Tweet I was perusing Github the other day and I came across this awesome little JavaScript library. It's called TinyCon and it's a small library for manipulating the favicon in your browser. It adds alert bubbles and changing images pretty similar to the way Gmail does. It's basically a really fun little library that allows you to add a notification bubble to your favicons. I started to play ... (more)
category: Web Dev | clicked: 20 | comment | | source: deanhume.com
tags: tinycon, C#, JavaScript
5
Shouts

EntitySpaces 1,000 License Give Away (no catches)

published 465 days, 2 hours, 30 minutes ago posted by MikeGriffinMikeGriffin 467 days, 21 hours, 39 minutes ago
Saturday, February 11, 2012 4:49:46 PM GMT Wednesday, February 08, 2012 9:40:15 PM GMT
EntitySpaces LLC is announcing a one-time, special offer on February 29th, 2012. We are giving away 1,000 EntitySpaces Studio Licenses for free. See http://www.entityspaces.net for more information on EntitySpaces Studio. Why are we doing this? One reason… we feel so strongly that once we put EntitySpaces into the hands of developers (including our new entityspaces.js JavaScript Data Access System), a good portion of them will become the best PR team we could ever have. (more)
category: Architecture | clicked: 90 | comment | | source: www.entityspaces.net
tags: EntitySpaces, C#, VB.NET, KnockoutJS, knockout, ORM
4
Shouts

C# Needs Seqs

published 462 days, 23 hours, 15 minutes ago posted by KodefuGuruKodefuGuru 468 days, 15 hours, 57 minutes ago
Monday, February 13, 2012 8:04:31 PM GMT Wednesday, February 08, 2012 3:22:59 AM GMT
A proposition for a new keyword in C# to support IEnumberable (more)
category: How To | clicked: 28 | comment | | source: www.kodefuguru.com
tags: C#, IEnumerable, Linq
2
Shouts

Object Oriented programming ( OOP ) :- What is Aggregation , Association and Composition ?

published 470 days, 57 minutes ago posted by questpondquestpond 471 days, 14 hours, 37 minutes ago
Monday, February 06, 2012 6:22:29 PM GMT Sunday, February 05, 2012 4:42:26 AM GMT
In this video we will demonstrate 3 important principles i.e. Aggregation , Association and Composition using c#. All the 3 things are important pillars of OOP ( object oriented programming) relationship. OOP(Object Oriented Programming) (more)
category: Architecture | clicked: 48 | comment | | source: youtu.be
tags: .NET, Programming, C#, OOP, Object Oriented Programming
3
Shouts

C#/.NET Little Pitfalls: Implicit Zero To Enum Conversion

published 478 days, 20 hours, 15 minutes ago posted by BlackRabbitCoderBlackRabbitCoder 480 days, 17 hours, 50 minutes ago
Saturday, January 28, 2012 11:04:38 PM GMT Friday, January 27, 2012 1:29:56 AM GMT
Many times, we create overloaded methods or constructors to allow them to accept different kinds of data. Further, there are times that we may accept object when any value will do. This works well (aside from boxing/unboxing concerns for value types), but if you have an overload that accepts object and one that takes an enum, and you pass a constant expression of 0, where does it go? (more)
category: Web Dev | clicked: 21 | 1 comment | | source: www.blackrabbitcoder.net
tags: enum, .NET, conversion, C#, Implicit, Little Pitfalls
2
Shouts

Visual studio and .NET tips and tricks 14:- Implement interfaces with just a right click - YouTube

published 477 days, 10 hours, 37 minutes ago posted by questpondquestpond 483 days, 8 hours, 31 minutes ago
Monday, January 30, 2012 8:42:23 AM GMT Tuesday, January 24, 2012 10:48:59 AM GMT
Visual studio and c#/ .NET tips and tricks 14:- Implement interfaces with just a right click.In this video we will see how to implement interfaces with right clicks rather than typing them manually. .NET Tips and Tricks & Visual Studio:- (more)
category: Web Dev | clicked: 25 | comment | | source: youtu.be
tags: C#, Visual Studio, .NET tips and tricks
4
Shouts

Code Contracts in .NET 4

published 492 days, 7 hours, 25 minutes ago posted by martinigmartinig 494 days, 4 hours, 12 minutes ago
Sunday, January 15, 2012 11:54:38 AM GMT Friday, January 13, 2012 3:07:23 PM GMT
This video explains code contracts in .NET and how they can be used to improve data integrity, consistency, and development velocity with minimal impact to the size of the source base and even to production performance. (more)
category: Screencast | clicked: 73 | comment | | source: www.dotnet-tv.com
tags: C#, Agile, Pex, contract
2
Shouts

C#/.NET Little Pitfalls: Stopwatch Ticks are not TimeSpan Ticks

published 492 days, 7 hours, 25 minutes ago posted by BlackRabbitCoderBlackRabbitCoder 494 days, 18 hours, 47 minutes ago
Sunday, January 15, 2012 11:54:38 AM GMT Friday, January 13, 2012 12:32:42 AM GMT
The System.Diagnostics.Stopwatch class is very useful for elapsed time measurements in .NET applications. Today we’ll look at the ElapsedTicks member of the Stopwatch class, and some of the confusion of what this quantity represents, especially compared to TimeSpan or DateTime Ticks. (more)
category: Web Dev | clicked: 12 | 2 comments | | source: www.blackrabbitcoder.net
tags: .NET, DateTime, C#, Stopwatch, CSharp, TimeSpan, Little Pitfalls
3
Shouts

VSTS 2010 testing :- In what scenarios do we use ordered testing ?

posted by questpondquestpond 495 days, 7 hours, 23 minutes ago
Thursday, January 12, 2012 11:56:33 AM GMT
In what scenarios do we use ordered testing VSTS & C# (more)
category: Web Dev | clicked: 4 | comment | | source: youtu.be
tags: .NET, C#, VSTS 2010
3
Shouts

C#, Parallel deserialization of JSON stored in database « Daniel Wertheim

published 492 days, 7 hours, 25 minutes ago posted by sedanwersedanwer 495 days, 20 hours, 22 minutes ago
Sunday, January 15, 2012 11:54:38 AM GMT Wednesday, January 11, 2012 10:57:27 PM GMT
A while back ago I had to yield entities constructed by deserializing JSON stored in a database. The first solution just opened a simple single result, sequential reader against the database returning a one column result set containing JSON. This was just yield returned after deserialized to the desired entity. Trying to tweak this I turned to the task parallel library. The idea was to in a separate task, read from the datareade... (more)
category: Architecture | clicked: 34 | 1 comment | | source: daniel.wertheim.se
tags: JSON, ADO.NET, Task Parallel Library, DataReader, C#
Previous 1 2 3 4 5 6 7 8 9 10 ... 49 50 Next