Skip to content

Instantly share code, notes, and snippets.

View eleobfr's full-sized avatar
🏠
Working from home

eleobfr eleobfr

🏠
Working from home
View GitHub Profile
@eleobfr
eleobfr / Program.cs
Created March 28, 2020 18:45
Générer une chaine alphanumérique en dotnet csharp c# .NET
using System;
using System.Linq;
namespace Tuto_Alphanumerique
{
class Program
{
static void Main(string[] args)
{
for (int i = 10; i < 100; i+=5)
@eleobfr
eleobfr / ELEOBDemonstration.bas
Last active March 22, 2020 15:07
Code VBA de démonstration Excel VBA
'Vous pouvez copier ce code et le coller dans l'éditeur de macros Excel VBA
Option Explicit
'*********************************************************
'Fonction VBA qui renvoit un résultat de type entier
'*********************************************************
private Function Additionner(a As Integer, b As Integer) As Integer
Dim somme As Integer ' définition des variables
somme = a + b ' addition