The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Generische Methoden und deren Aufruf

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
-

Posts: 1524
Nickname: nitronic
Registered: Jul, 2006

Norbert Eder works as a software architect.
Generische Methoden und deren Aufruf Posted: Jan 12, 2007 11:45 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by -.
Original Post: Generische Methoden und deren Aufruf
Feed Title: Norbert Eder - Living .NET
Feed URL: http://feeds.feedburner.com/NorbertEder-Livingnet
Feed Description: Copyright (c)2005, 2006 by Norbert Eder
Latest .NET Buzz Posts
Latest .NET Buzz Posts by -
Latest Posts From Norbert Eder - Living .NET

Advertisement
Einfach auf der Zunge zergehen lassen oder in eine Consolen-Anwendung kopieren und austesten.

class Program
{
static void Function<T>(int x, T y)
{
Console.WriteLine("Function 1");
}

static void Function<T>(T x, long y)
{
Console.WriteLine("Function 2");
}

static void Main()
{
Function<int>(5, 324);
Function<byte>(5, 324);
Function(5, 324);
Console.WriteLine();
}
}

Read: Generische Methoden und deren Aufruf

Topic: DotNetCasts - Live! Previous Topic   Next Topic Topic: MOSS 2007 - MoReq2

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use