Tags » C-2

Linq Selection Result Types : C#

Introduction

The Linq Select operator is projection operator, which takes a collection as an input, performs some sort of projection on the collection items and returns a number of elements. 500 more words

C#

Hello World Program using C#

using System;

public class Hello
{
public static void Main()
{
Console.WriteLine(“Hello, World!”);
}
}

C#

Linq's Where Clause (operator) : Result Filtering

One of the main task of a Linq query is to filter the results from a larger collection on some criteria. This is perform by Where operator, which tests each element within a source collection and returns only those elements that pass when tested against a given… 339 more words

C#

Predicate with Example : C#

Introduction

When we want to test some criteria on collection object’s element and depending upon result test result (true or false) we perform some operation on that collection or its elements, we should use predicate. 180 more words

C#

Custom menu in SharePoint using Taxonomy Term Store Navigation - Programmatically C#

This is a simple example how to access to Taxonomy Term Store properties in SharePoint using c# and create a Custom Menu.

First, create the terms on your Taxonomy Manage Navigation. 233 more words

Branding

.NET for Java Devs in a nutshell

Introduction

.Net is a software development platform, which allows code written in different languages to interoperate. C# and the .Net model have some resemblances with some java-based technologies. 713 more words

Java

Split a sentence into a List of words

So you need to split a string into “words”. Here’s one solution.


var sentence = "hello world";
var words = sentence.Split(Convert.ToChar(" ")).ToList();

C#