Abundant Code

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

Using Null Coalescing Operator in C#

December 26, 2013 by AbundantCode Leave a Comment

Sometimes , you may want to simply the Null checks in your .NET Program without much usage of the if statements .

The Null Coalescing Operator can be used in this scenario.

Using Null Coalescing Operator in C#

using System;
…

Filed Under: C# Tagged With: C#, Null Coalescing, operator, using

Using or Operator in the Where Clause of LINQ in C#

August 16, 2013 by AbundantCode Leave a Comment

Below is a sample code snippet demonstrating on how to use “Or” Operator in the Where Clause of Linq in C#?

Using or Operator in the Where Clause of LINQ in C#

using System;

using System.Collections.Generic;

using System.Data;

using System.Linq;

…

Filed Under: C# Tagged With: C#, Clause, LINQ, operator, using

Using Modulus or % to get the Remainder in C#

May 14, 2013 by AbundantCode 2 Comments

Below is a sample soucrecode demonstrating how to get remainder in c# using Modulus or Remainder operator (%).

Using Modulus or % to get the Remainder in C#

using System;

namespace AbundantCode

{

internal class Program

{

//Using Modulus or 
…

Filed Under: C# Tagged With: %, Modulus, Remainder, using

RSS
Facebook
fb-share-icon
Twitter
Visit Us
Follow Me
Tweet

Recent Posts

  • InvalidModuleDescriptorException when running java program in Eclipse IDE
  • Python Program to Check Armstrong Number
  • Collapsible links for subcategories in Docusaurus Sidebar
  • Python Program to Print Fibonacci Series
  • Python Program to Generate Multiplication Table

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,746,868 hits

Archives

Top Posts & Pages

  • How to Convert a Stream to Byte Array in C# 4.0 ?
  • How to Quickly Delete All Rows in a Table in Entity Framework?
  • How to Allow only numeric input in a Textbox in WPF ?
  • How to retrieve the URL of the current Page in ASP.NET MVC 4 Controller ?
  • How to open display settings from command line in Windows 10 ?
  • How to clean up unused PowerPoint master slides in PowerPoint?
  • How to Calculate MD5 checksum for a file in C# ?
  • C Program to display half-pyramid using alphabets
  • How to get the Relative Server Path in ASP.NET Web API ?
  • How to Extract number from a string using C# ?

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

  • How to Convert a Stream to Byte Array in C# 4.0 ?
  • How to Quickly Delete All Rows in a Table in Entity Framework?
  • How to Allow only numeric input in a Textbox in WPF ?
  • How to retrieve the URL of the current Page in ASP.NET MVC 4 Controller ?
  • How to open display settings from command line in Windows 10 ?
  • How to clean up unused PowerPoint master slides in PowerPoint?
  • How to Calculate MD5 checksum for a file in C# ?
  • C Program to display half-pyramid using alphabets
  • How to get the Relative Server Path in ASP.NET Web API ?
  • How to Extract number from a string using C# ?

Recent Posts

  • InvalidModuleDescriptorException when running java program in Eclipse IDE
  • Python Program to Check Armstrong Number
  • 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

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