Click here to Skip to main content
15,886,199 members

Comments by Ramana Bellary (Top 20 by date)

Ramana Bellary 28-Sep-18 2:27am View    
Below is what I have come with, let me know if you have any better solution.

public abstract class Creature
{
public virtual void Walk()
{

}

public virtual void Run()
{

}

public virtual void Swim()
{

}
}
public class Tiger : Creature
{

}
public class Horse : Creature
{
public override void Walk()
{
throw new Exception("Can walk");
}
}
public class Fish : Creature
{
public override void Walk()
{
throw new Exception("Can walk");
}

public override void Run()
{
throw new Exception("Can Run");
}
}
public class Tortoise : Creature
{
public override void Run()
{
throw new Exception("Can Run");
}
}
Ramana Bellary 26-Oct-17 5:11am View    
My doubt is if the source.CopyTo is still holding the reference to the file.
Or is it caused because of using AsParallel !!!
Ramana Bellary 6-Jul-17 5:15am View    
I know how to insert single record at a time into Oracle DB, but I want to know how to bulk insert. I did this for SqlServer, but never did this for Oracle.
Ramana Bellary 5-Jul-17 13:08pm View    
I mean, I have selected a csv file, right clicked and chosen the option "Send to Compresed Zip folder", which has created a zip file.
Ramana Bellary 5-Jul-17 9:14am View    
I have created the .zip file manually, which has one csv file inside it. If the zip file has a .txt file, in that case am able to unzip it.