using f# project from c#

9
Using F#-project from C#

Upload: tuomas-hietanen

Post on 17-Dec-2014

1.085 views

Category:

Technology


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Using f# project from c#

Using F#-project from C#

Page 2: Using f# project from c#

New F#-project

Page 3: Using f# project from c#

Build

Page 4: Using f# project from c#

New C#-project and “Add reference…”

Page 5: Using f# project from c#

Projects -> F#-project

Page 6: Using f# project from c#

Use as any dll-library

Page 7: Using f# project from c#

In class libraries

All the normal class structures work

F# has same CLR-basetypes

Page 8: Using f# project from c#

Note when you do a class library

Seq<T> = IEnumerable<T>

F# function type is missing from C#

Tuple<T1, T2> works fine

Page 9: Using f# project from c#

Note when you do a class library

Naming

AssemblyInfo & StrongName• You may add