我在.xlsx文件中有一组40多张。每个组织都是一个主要联系人,他们的信息是垂直结构。此部分没有标题。
class A{
public A() : this(new B1(), new B2())
{
}
public A(B1 b1, B2 b2){
this.b1 = b1;
this.b2 = b2;
}
public B1 b1 {get; private set;}
public B2 b2 {get; private set;}
}
class B1{
public B1() : this(new C1(), new C2(), new C3())
{
}
public B1(C1 c1, C2 c2, C3 c3){
this.c1 = c1;
this.c2 = c2;
this.c3 = c3;
}
public C1 c1 {get; private set;}
public C2 c2 {get; private set;}
public C3 c3 {get; private set;}
}
class B2{
public B2() : this(new C1(), new C2(), new C3())
{
}
public B2(C1 c1, C2 c2, C3 c3){
this.c1 = c1;
this.c2 = c2;
this.c3 = c3;
}
public C1 c1 {get; private set;}
public C2 c2 {get; private set;}
public C3 c3 {get; private set;}
}
class C1{}
class C2{}
class C3{}
public static void Main()
{
A a = new A();
}
其他相关人员在工作表中,但没有地址信息
Organization: |Fillory |
Main Contact Name: |Aiden Turner |Lead Instructor
Main Contact Email: |Ludo@rocks.com
Main Contact Phone: |508-555-2112
Mailing Address: |123 Baker Street |Brockton, MA 02301
我想连接到Excel文件并获取前5行和3列以将第一列与其他两列相对应,然后将它们与下面的记录交叉应用,从第7行的标题开始。
我开始沿着MergeJoin的路走下去,但这让我陷入了一个完整的IsSorted事情,在我开始尝试解决我做错的事情之前,我想我应该看看是否有人有更好的解决方案。