Abundant Code

  • C#
  • C++
  • Elastic Search
  • Entity Framework
  • F#
  • JavaScript
  • ASP.NET
  • C
  • Java
  • SQL Server
  • Assembly Lang
Home ยป Example

Example of Lambda Expression with Action Method in C#

April 1, 2014 by AbundantCode Leave a Comment

Below is a sample code snippet that demonstrates the lambda expression with action method in C#. Example of Lambda Expression with Action Method in C#

Filed Under: C# Tagged With: Action, Action method, C#, Example, Lambda, Lambda Expression, Method

Example of Anonymous Method in C#

April 1, 2014 by AbundantCode Leave a Comment

Below is a sample code snippet that demonstrates how to use anonymous method to add two numbers in C#. Example of Anonymous Method in C#

Filed Under: C# Tagged With: Anonymous, anonymous method, C#, Example, How to, Method, tips, tricks

Example of Function Delegates in C#

April 1, 2014 by AbundantCode Leave a Comment

Below is a sample code snippet that demonstrates the function delegates or lambda expression in C# . Example of Function Delegates in C#

Filed Under: C# Tagged With: C#, delegates, Example, Function Delegates, Lambda, Lambda Expression

Example of Object Initializer in C#

April 1, 2014 by AbundantCode Leave a Comment

Object Initializer is one of the cool features in C# that lets the developers to initialize the objects as and when they are declared . Example of Object Initialize in C# Below is a sample code snippet that demonstrates how to use Object Initializers in C#.

Filed Under: C# Tagged With: C#, Example, How to, Object Initializer, Object Initializers

Rectangle and SkewTransform example in Silverlight and XAML

February 23, 2014 by AbundantCode Leave a Comment

Below is a sample code snippet demonstrating how to use the SkewTransform with the Rectangle control in Silverlight and XAML. Rectangle and SkewTransform example in Silverlight and XAML <Canvas x:Name=”ACCanvas” xmlns=”http://schemas.microsoft.com/client/2007″ xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml” Width=”400″ Height=”300″ > <Canvas.Background> <SolidColorBrush Color=”Yellow”/> </Canvas.Background> <Rectangle Width=”190″ Height=”160″ Fill=”Red” Stroke=”Green” Canvas.Left=”0″ Canvas.Top=”50″ RenderTransformOrigin=”0,0″ > <Rectangle.RenderTransform> <SkewTransform AngleX=”45″ /> </Rectangle.RenderTransform> </Rectangle> </Canvas>

Filed Under: Windows Tagged With: Example, Rectangle, Silverlight, SkewTransform, XAML

Rectangle and ScaleTransform example in Silverlight and XAML

February 22, 2014 by AbundantCode Leave a Comment

Below is a sample code snippet demonstrating how to use the ScaleTransform with the Rectangle control in Silverlight and XAML. Rectangle and ScaleTransform example in Silverlight and XAML <Canvas x:Name=”ACCanvas” xmlns=”http://schemas.microsoft.com/client/2007″ xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml” Width=”400″ Height=”300″ > <Canvas.Background> <SolidColorBrush Color=”Yellow”/> </Canvas.Background> <Rectangle Width=”190″ Height=”160″ Fill=”Red” Stroke=”Green” Canvas.Left=”200″ Canvas.Top=”50″ RenderTransformOrigin=”0,0″ > <Rectangle.RenderTransform> <ScaleTransform ScaleX=”2″ ScaleY=”2″/> </Rectangle.RenderTransform> </Rectangle> </Canvas>

Filed Under: Windows Tagged With: Example, Rectangle, ScaleTransform, Silverlight, XAML

Rectangle and RotateTransform example in Silverlight and XAML

February 22, 2014 by AbundantCode Leave a Comment

Below is a sample code snippet demonstrating how to use the RotateTransform with the Recangle control in Silverlight and XAML. Rectangle and RotateTransform example in Silverlight and XAML <Canvas x:Name=”ACCanvas” xmlns=”http://schemas.microsoft.com/client/2007″ xmlns:x=”http://schemas.microsoft.com/winfx/2006/xaml” Width=”400″ Height=”300″ > <Canvas.Background> <SolidColorBrush Color=”Yellow”/> </Canvas.Background> <Rectangle Width=”190″ Height=”160″ Fill=”Red” Stroke=”Green” Canvas.Left=”200″ Canvas.Top=”50″ RenderTransformOrigin=”0,0″ > <Rectangle.RenderTransform> <RotateTransform Angle=”45″/> </Rectangle.RenderTransform> </Rectangle> </Canvas>

Filed Under: Windows Tagged With: Example, Rectangle, RotateTransform, Silverlight, XAML

Example of Predicate Delegate in C#

October 17, 2013 by AbundantCode Leave a Comment

Predicate Delegate is an interesting feature in .NET Framework which is like a reference to a function which returns either true or false. Example of Predicate Delegate in C# Below is a sample code snippet demonstrating the usage of Predicate Delegate in C#

Filed Under: C# Tagged With: C#, Delegate, Example, How to, Predicate

SelectMany Example in LINQ and C#

July 27, 2013 by AbundantCode Leave a Comment

Below is a sample source code demonstrating the usage of the SelectMany method in LINQ and C#. One of the usage of the SelectMany is to return the flat list an avoid returning the lists of lists. SelectMany Example in LINQ and C#

Filed Under: C# Tagged With: C#, Example, LINQ, SelectMany, tutorials

Example of Chaining LINQ Query Operators in C#

July 22, 2013 by AbundantCode Leave a Comment

Below is a sample source code snippet demonstrating the chaining of LINQ operators in C#. Example of Chaining LINQ Query Operators in C#

Filed Under: C# Tagged With: C#, Chaining, Example, LINQ Query

  • 1
  • 2
  • Next Page »
RSS
Facebook
fb-share-icon
Twitter
Visit Us
Follow Me
Tweet

Recent Posts

  • Collapsible links for subcategories in Docusaurus Sidebar
  • Python Program to Print Fibonacci Series
  • Python Program to Generate Multiplication Table
  • Python Program to Find the Factorial of a Number
  • Python Program to Print Prime Numbers in a Given Interval

Categories

Tags

.NET App Array ASP.NET ASP.NET MVC Assembly Language C# C# programs c lab programs Collection convert C program csharp database Example F# guide How to How to in Java integer Java Javascript Lab programs Lambda LINQ List Python lab programs Python programs SIC/XE SQL Server string tips tricks tutorial tutorials UWP visual studio 2015 Windows Windows 8 Windows 10 Windows Phone Windows Phone 8 Windows Phone 8.1 wp8 XAML

Blog Stats

  • 8,729,452 hits

Archives

Top Posts & Pages

  • C Program to Multiply Two Matrices Using Multi-dimensional Arrays
  • How to Convert a Stream to Byte Array in C# 4.0 ?
  • How to open display settings from command line in Windows 10 ?
  • C Program to display half-pyramid using alphabets
  • How to Extract number from a string using C# ?
  • Json.NET & VB.NET - How to Deserialize an Object ?
  • System Software - SIC/XE Program to clear 20 byte string to empty
  • How to Check if Integer is a multiple of a number in Java?
  • Tools to Convert Java to C# Source Code
  • How to Allow only numeric input in a Textbox in WPF ?

Categories

  • Android
  • Angular 2
  • ASP.NET
  • Assembly Language
  • C
  • C#
  • C++
  • Elastic Search
  • Entity Framework
  • Excel
  • F#
  • HTML
  • Interview Questions
  • Java
  • JavaScript
  • jQuery
  • Microsoft Office
  • MySQL
  • NETWORK
  • News
  • PHP
  • popular
  • PowerShell
  • Python
  • Ruby
  • SharePoint
  • SQL Server
  • SQL Server
  • Unix
  • VB.NET
  • Visual Studio
  • WebAPI
  • Windows
  • Windows Azure
  • Windows Forms
  • XAML

Top Posts & Pages

  • C Program to Multiply Two Matrices Using Multi-dimensional Arrays
  • How to Convert a Stream to Byte Array in C# 4.0 ?
  • How to open display settings from command line in Windows 10 ?
  • C Program to display half-pyramid using alphabets
  • How to Extract number from a string using C# ?
  • Json.NET & VB.NET - How to Deserialize an Object ?
  • System Software - SIC/XE Program to clear 20 byte string to empty
  • How to Check if Integer is a multiple of a number in Java?
  • Tools to Convert Java to C# Source Code
  • How to Allow only numeric input in a Textbox in WPF ?

Recent Posts

  • Collapsible links for subcategories in Docusaurus Sidebar
  • Python Program to Print Fibonacci Series
  • Python Program to Generate Multiplication Table
  • Python Program to Find the Factorial of a Number
  • Python Program to Print Prime Numbers in a Given Interval
  • Python Program to Check Prime Number
  • Python Program to Find the Largest Value Among Three Numbers
  • Python Program to Check If a Given Year is Leap Year
  • Python Program to Check if a Number is Odd or Even
  • Python Program to Check if a Number is Positive, Negative or Zero

Tags

.NET App Array ASP.NET ASP.NET MVC Assembly Language C# C# programs c lab programs Collection convert C program csharp database Example F# guide How to How to in Java integer Java Javascript Lab programs Lambda LINQ List Python lab programs Python programs SIC/XE SQL Server string tips tricks tutorial tutorials UWP visual studio 2015 Windows Windows 8 Windows 10 Windows Phone Windows Phone 8 Windows Phone 8.1 wp8 XAML