Translate

Donnerstag, 31. August 2017

Die deutschen Diesel sind schlecht? Die Statistik zeigt ein anderes Bild...

Die deutschen Diesel sind schlecht? Die Statistik zeigt ein anderes Bild...

C# IEnumerable to ObservableCollection as extension method

using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DBLayer.Extensions
{
    public static class IEnumerableExtensions
    {
        public static ObservableCollection<T> ToCollection<T>(this IEnumerable<T> list)
        {
            var collection = new ObservableCollection<T>();
            foreach (var item in list)
                collection.Add(item);
            return collection;
        }
    }
}

C# IEnumerable to ObservableCollection as extension method

using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DBLayer.Extensions
{
    public static class IEnumerableExtensions
    {
        public static ObservableCollection<T> ToCollection<T>(this IEnumerable<T> list)
        {
            var collection = new ObservableCollection<T>();
            foreach (var item in list)
                collection.Add(item);
            return collection;
        }
    }
}

C# string contains only values from a given sequence

C# Visual Studio Unit testing

Arduino/ NodeMCU Telegram bot library

NodeMCU wrong pin mapping...

https://github.com/esp8266/Arduino/issues/584

static const uint8_t D0   = 16;
static const uint8_t D1   = 5;
static const uint8_t D2   = 4;
static const uint8_t D3   = 0;
static const uint8_t D4   = 2;
static const uint8_t D5   = 14;
static const uint8_t D6   = 12;
static const uint8_t D7   = 13;
static const uint8_t D8   = 15;
static const uint8_t D9   = 3;
static const uint8_t D10  = 1;

Git checkout and stash in one step

C# Access AccessViolationException

C# dotnetsnippets Exception handling

C# SEHExceptions/ Corrupted state exceptions abfangen

LaTeX Name referencing for chapters/ headings