top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Generic Pointers

+4 votes
299 views

What are generic pointers in VB.net??

posted Mar 14, 2014 by Merry

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

Source : http://www.codeproject.com/Articles/438868/Inline-MSIL-in-Csharp-VB-NET-and-Generic-Pointers
C# lacks generic pointers. it’s silly you can apply the constraint class to a generic and assign null to a variable of T it but, if you applied the constraint struct you couldn't make a pointer variable of T. The reasoning is simple as structures can contain reference field types which you cannot (normally) create a pointer to, but there should still be a way to do this.Usine inline IL to achieve generic pointers.

answer Mar 18, 2014 by Pavan P Naik
Similar Questions
+4 votes

How to Generic Method to Create and Execute Parameterized SQL Query in .NET 4.0 ?

+8 votes
+4 votes
...